Quelle: github.com
For guys would like to run in lxc contianers(i failed to run in vm in proxmox):
- alter the lxc container conf
# in pve host
vim /etc/pve/lxc/YOUR_CONTAINER_ID.conf
add these lines at the end
lxc.cgroup2.devices.allow: c 10:232 rwm
lxc.mount.entry: /dev/kvm dev/kvm rw bind,create=file
lxc.cgroup.devices.allow: c 10:200 rwm # for compatibility
lxc.cgroup2.devices.allow: c 10:200 rwm
lxc.mount.entry: /dev/net dev/net none bind,create=dir
- restart your lxc container
- restart the docker container