singularity-compose icon indicating copy to clipboard operation
singularity-compose copied to clipboard

support for boot option

Open pwalsh0 opened this issue 4 years ago • 3 comments

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?

pwalsh0 avatar May 17 '21 15:05 pwalsh0

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

vsoch avatar May 17 '21 15:05 vsoch

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.

pwalsh0 avatar May 27 '21 08:05 pwalsh0

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.

vsoch avatar May 27 '21 12:05 vsoch