Upgraded to Proxmox 7, installed has no problems (well, pending issue https://forum.proxmox.com/threads/unknown-video-mode-on-fresh-proxmox-7-install.92623/#post-403828, but that's a different story).
We are running LXC containers with docker and gitlab-runner inside them. I modified the /etc/pve/lxc/*.conf files by renaming the cgroup entries to cgroup2, namely:
However, docker run complains:
https://www.infoq.com/news/2021/01/docker-engine-cgroups-logging/ Indicates that cgroup2 support in docker is only rolled into docker 20, while ubuntu20.04 is on docker19.03.13.
Proxmox documentation (https://pve.proxmox.com/pve-docs/chapter-pct.html#pct_cgroup_compat) says that one of the options is to switch back to legacy cgroup, but it doesn't describe how. Any documentation on how to do that?
Another question is: Do we expect for docker 20 to roll out to ubuntu before or after cgroupv1 compatibility disappears from Proxmox?
Thank you!
george
We are running LXC containers with docker and gitlab-runner inside them. I modified the /etc/pve/lxc/*.conf files by renaming the cgroup entries to cgroup2, namely:
Code:
lxc.cgroup2.devices.allow: a
However, docker run complains:
Bash:
root@vis-ct-hsw-00:~# docker run hello-world
docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown.
ERRO[0000] error waiting for container: context canceled
root@vis-ct-hsw-00:~#
https://www.infoq.com/news/2021/01/docker-engine-cgroups-logging/ Indicates that cgroup2 support in docker is only rolled into docker 20, while ubuntu20.04 is on docker19.03.13.
Proxmox documentation (https://pve.proxmox.com/pve-docs/chapter-pct.html#pct_cgroup_compat) says that one of the options is to switch back to legacy cgroup, but it doesn't describe how. Any documentation on how to do that?
Another question is: Do we expect for docker 20 to roll out to ubuntu before or after cgroupv1 compatibility disappears from Proxmox?
Thank you!
george