singularity-compose
singularity-compose copied to clipboard
support for boot option
I'm trying to run systemd containers (yuck I know). They need to be started with the --boot option, which needs sudo.
Singularity compose doesn't seem to support this option, so I have to fall back to running singularity commands manually.
I searched the codebase and docs for this option but no sign of it. Can we have it in future version please?
You can't add that to the list of start options? See the example here: https://singularityhub.github.io/singularity-compose/#/spec/spec-2.0
I tried lots of ways and it didn't seem to pass it at all.
The containers ended up not working anyway tho (when manually starting them without compose), they would start up ok - but the applications would fail mysteriously because of cgroup stuff.
Ah sorry to hear that! What I would do first is engage with folks on the SingularityCE / Sylabs slack and try to figure out of what you want to do is possible regardless of Singularity Compose. Once you have that, if you want to come back here and share this with me I can better take a shot at putting together a compose recipe.