containers icon indicating copy to clipboard operation
containers copied to clipboard

Add option for "--bind" when running containers

Open jbwexler opened this issue 10 months ago • 2 comments

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

jbwexler avatar Apr 06 '24 08:04 jbwexler

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}

yarikoptic avatar Apr 06 '24 13:04 yarikoptic

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.

jbwexler avatar Sep 18 '24 22:09 jbwexler