[BUG] singularity run 24.04-cuda12.2-py3.11 image fail with: stat /home/rapids/entrypoint.sh: permission denied
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 87
- Forks
- 59
- Avg merge
- 22h 56m
- Merged PRs (30d)
- 4
Description
When I launch the RAPIDS image using Singularity, I encounter the following error:
$ singularity run --nv sif/rapidsai.sif
FATAL: stat /home/rapids/entrypoint.sh: permission denied
I found that the current rapids directory and the conda directory in the image have been changed to 0770, causing the Singularity runtime user to be unable to access the contents of the directory.
Expected behavior
Please provide a Docker image that is friendly to Singularity. Thank you.
This command changes the permissions of the /opt/conda directory to 0770, instead of the default 0755.
COPY --chown=root:conda --chmod=770 /opt/conda /opt/conda # buildkit
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Dockerfile template that produces the /opt/conda layer and inspect the generated COPY --chown=root:conda --chmod=770 command. Rebuild the image, run it through Singularity with --nv, and confirm that /home/rapids/entrypoint.sh is accessible and the reported permission error is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100