docker icon indicating copy to clipboard operation
docker copied to clipboard

[BUG] singularity run 24.04-cuda12.2-py3.11 image fail with: stat /home/rapids/entrypoint.sh: permission denied

Open AndrewTsao opened this issue 1 year ago • 0 comments

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

AndrewTsao avatar May 16 '24 09:05 AndrewTsao