Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for boot option #44

Open
pwalsh0 opened this issue May 17, 2021 · 3 comments
Open

support for boot option #44

pwalsh0 opened this issue May 17, 2021 · 3 comments

Comments

@pwalsh0
Copy link

pwalsh0 commented May 17, 2021

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?

@vsoch
Copy link
Member

vsoch commented May 17, 2021

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

@pwalsh0
Copy link
Author

pwalsh0 commented May 27, 2021

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.

@vsoch
Copy link
Member

vsoch commented May 27, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants