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

running apptainer in docker without --privileged #15

Open
jemajet opened this issue Jul 27, 2023 · 2 comments
Open

running apptainer in docker without --privileged #15

jemajet opened this issue Jul 27, 2023 · 2 comments

Comments

@jemajet
Copy link

jemajet commented Jul 27, 2023

Do you know if it's possible to run without the --privileged flag? I've been trying to run with --security-opt seccomp=unconfined --security-opt systempaths=unconfined --security-opt no-new-privileges --device /dev/fuse, but I keep running into this error: ERROR : Installation issue: starter-suid doesn't have setuid bit set

@kaczmarj
Copy link
Owner

kaczmarj commented Jul 27, 2023

i have never gotten this to work to be honest... perhaps try building apptainer without suid and try with those docker run options?

sudo docker build --build-arg MCONFIG_OPTIONS="--without-suid" --tag apptainer - < Dockerfile

related issue: apptainer/apptainer#1439

@kaczmarj
Copy link
Owner

kaczmarj commented Aug 1, 2023

@jemajet - there might be an answer to your question in #4 (comment)

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