Skip to content
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

We would like to have the ability to pass a .sif file to the wrapper so it uses it for execution #100

Open
jmtcsngr opened this issue Mar 7, 2024 · 0 comments

Comments

@jmtcsngr
Copy link
Member

jmtcsngr commented Mar 7, 2024

Currently the singularity-*-docker wrapper scripts produced when installing, will pull the image from docker or rely on the singluarity cache. But it should be possible to use a .sif file saved locally to execute.

So instead of using
singularity exec/run "docker://$DOCKER_REGISTRY/$DOCKER_USER/$DOCKER_IMAGE:$DOCKER_TAG" "$@"

We would like to be able to do ask the wrapper to do
singularity exec/run "${CONTAINER}" "$@"
where $CONTAINER is either a docker://... or a <path to local .sif file> and the behaviour is controlled by the calling wrapper executable. Essentially define where to find the image at run time when executing write_wrapper
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant