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

buildah: unshare(CLONE_NEWUSER): Operation not permitted #5613

Open
1 task done
distorhead opened this issue May 5, 2023 · 0 comments
Open
1 task done

buildah: unshare(CLONE_NEWUSER): Operation not permitted #5613

distorhead opened this issue May 5, 2023 · 0 comments

Comments

@distorhead
Copy link
Member

distorhead commented May 5, 2023

Before proceeding

  • I didn't find a similar issue

Version

1.2.230

Info

The complete error message may look as follows:

Error during unshare(CLONE_NEWUSER): Operation not permitted
ERRO[0000] error parsing PID "": strconv.Atoi: parsing "": invalid syntax
ERRO[0000] (unable to determine exit status)

How to fix

Disable AppArmor and seccomp profiles with --security-opt seccomp=unconfined and --security-opt apparmor=unconfined, add special annotations to a Pod or use a privileged container. Details:

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

1 participant