-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permissions on / for docker://nixery.dev/shell/bash #139
Comments
This should be relatively simple to fix. Currently I believe the tarballs we create contain no explicit entry for The only "weird" thing about this is that there will either need to be a special layer for this (bad idea because of layer budgets), or alternatively it would start existing in every tarball (and thus overlapping "in order"). Minor thing but worth thinking about for a bit. |
Clarification question: Are you sure this only needs the permissions set on I'm asking because from the |
Hi, to be honest, I only checked the top level of the docker image! I should have dig a little deeper (ie starting a docker image and chmod 755 / , commit and singulity build the new docker image)... |
I am not familiar at all with nix, so I am already stuck at this level:
So you are probaby right, singularity migh need more permissions than only the top level! |
as / is not writable by root, this is causing some issue for converting the docker image to a singularity container, but there is a workaround by using
singularity build --fix-perms my.sif docker://nixery.dev/shell/bash
.There is no such thing afaik when trying to
singularity run
the docker image.Would it be possible to "fix" the / permissions?
The text was updated successfully, but these errors were encountered: