-
Notifications
You must be signed in to change notification settings - Fork 10
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
[template] needed for Singularity #6
Comments
Don't know much about singularity, so maybe this is a red herring: By default repo2docker will use the UID and user name of the user that is executing |
The repo2docker (general) strategy to define a home folder for the user that originally created it makes a lot of sense! However, the continuous builder that we have now sets (artificially) the username in the container to be just "username" - and this is because the end of the line user cannot be predicted (e.g., if I build a container with Now a bit about Singularity containers - they are (currently) really the only way to bring containers to HPC, which is what is traditionally available on shared cluster resources in academic environments. For Singularity, the |
As discussed in #4 , a Singularity ready template would be desired ! Specifically, this can also build a Docker container, but with intention to import into Singularity. I summarized the issue (and current workaround) in the issue above as follows:
/home/username
is a reasonable solution for any future Docker usage.--home
to be the actual user home (it was getting overridden by$HOME
set in the container)/home/username
and thus not writable!What is needed is a builder template for Singularity that takes these things into account. Possibly creating / using a location with read/write permissions for all?
The text was updated successfully, but these errors were encountered: