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

PVE lxc 虚拟机添加 privileged: true 无法启动 #33

Closed
buerle opened this issue Sep 26, 2022 · 1 comment
Closed

PVE lxc 虚拟机添加 privileged: true 无法启动 #33

buerle opened this issue Sep 26, 2022 · 1 comment

Comments

@buerle
Copy link

buerle commented Sep 26, 2022

PVE lxc 虚拟机docker-compose.yml 添加 privileged: true 无法启动

image

Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply caps: operation not permitted: unknown

@buerle
Copy link
Author

buerle commented Sep 26, 2022

/etc/pve/lxc/xxx.conf
添加:
lxc.apparmor.profile: unconfined
lxc.cgroup2.devices.allow: a
lxc.cap.drop:
已经可以了.

@buerle buerle closed this as completed Sep 26, 2022
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