containers
containers copied to clipboard
Add option for "--bind" when running containers
Perhaps full customization to allow any singularity flag would be useful.
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}
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.