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

commandline needs "--cap-default" #1

Closed
jd666 opened this issue Sep 30, 2020 · 1 comment
Closed

commandline needs "--cap-default" #1

jd666 opened this issue Sep 30, 2020 · 1 comment

Comments

@jd666
Copy link

jd666 commented Sep 30, 2020

When running with podman and xpra (x11docker --podman --xpra --desktop --size 1400x900 x11docker/mate) x11docker builds a command line that includes --cap-drop ALL which causes the container startup to fail:

Error: container_linux.go:346: starting container process caused "apply caps: operation not permitted": OCI runtime permission denied error

When adding --cap-default to the startup the container launches successfully. (x11docker --podman --xpra --cap-default --desktop --size 1400x900 x11docker/mate)

@mviereck
Copy link
Owner

mviereck commented Sep 30, 2020

Thank you for reporting this!
I cannot reproduce the issue here.

What is your podman version? Here it is podman version 2.0.4.
What is your host system, maybe fedora? Here it is Debian bullseye.

For reference, the x11docker podman ticket is: mviereck/x11docker#255

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