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

Add option for "--bind" when running containers #111

Open
jbwexler opened this issue Apr 6, 2024 · 2 comments
Open

Add option for "--bind" when running containers #111

jbwexler opened this issue Apr 6, 2024 · 2 comments

Comments

@jbwexler
Copy link

jbwexler commented Apr 6, 2024

Perhaps full customization to allow any singularity flag would be useful.

@yarikoptic
Copy link
Member

The likely implementation idea we -- get it from git config but then it is tricky to implement with .datalad/config support since it should come before .git/config... so I think

  • just use git config
  • if someone wants to hardcode/commit in .datalad/config -- they already can do that by modifying individual invocations.

So we could do it even if no datalad is available etc.

But then we might want to make this added options generic, not necessarily only --bind, so let's make it REPRONIM_CONTAINERS_SING_EXEC_OPTS to add to singularity {cmd}

@jbwexler
Copy link
Author

Is there a workaround for this that doesn't involve making a commit? Currently I add the --bind in .datalad/config but that's not the most yoda-friendly.

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

2 participants