rapidsai / rapidsai/docker

[FEA] Allow writing to `/var/run`

Open
#582 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

? - Needs Triage feature request
Dominant language
Shell
Stars
87
Forks
59
Avg merge
22h 56m
Merged PRs (30d)
4

Description

Is your feature request related to a problem? Please describe.
When running jobs on NGC Base Command Platform the NGC Jobs runtime attempts to create a directory called /var/run/mnrun to create a PID file. Since the RAPIDS container has switched from root to rapids this path is no longer writable and BCP jobs fail to do this.

Describe the solution you'd like
Create /var/run/mnrun in our image as root and chown it to rapids.

Describe alternatives you've considered
Make /var/run writable by the rapids user. However this is not a recommended linux practice.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Dockerfile template used for RAPIDS images and the image build entry point. Verify the built image contains /var/run/mnrun owned by rapids and that the NGC Jobs runtime can create its PID file.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, shell
Domain
devops
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.