You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there an more elegant way of specifying an additional --overlay image with datalad containers-add than hard-coding it in --call-fmt and specifying the overlay image as --input in each datalad containers-run?
A little less hard-coding can be achieved by putting the overlay next to the Apptainer/Singularity image and naming it exactly the same just with a suffix (e.g. -overlay.img), then use --call-fmt 'apptainer exec --overlay {img}-overlay.img {img} {cmd}'. Still need to specify the overlay as --input in containers-run though...
Asked in chat:
It would be helpful if one could do:
datalad containers-add NAME \ --extra-input containers/overlay.img \ --call-fmt 'apptainer exec --overlay {imgdir}/overlay.sif {img} {cmd}' \ -i containers/container.sif
The text was updated successfully, but these errors were encountered: