mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-14 07:46:44 +00:00
pct: clarify needed systemd-versions for cgroupv2 support
versions determined through systemd's changelog, and a few empiric tests. Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
parent
34f3e48131
commit
c80d381a17
13
pct.adoc
13
pct.adoc
@ -518,8 +518,17 @@ Another important difference is that the 'devices' controller is configured in a
|
|||||||
completely different way. Because of this, file system quotas are currently not
|
completely different way. Because of this, file system quotas are currently not
|
||||||
supported in a pure 'cgroupv2' environment.
|
supported in a pure 'cgroupv2' environment.
|
||||||
|
|
||||||
If file system quotas are not required and the containers are new enough to
|
'cgroupv2' support by the container's OS is needed to run in a pure 'cgroupv2'
|
||||||
understand 'cgroupv2', it is recommended to stick to the new default.
|
environment. Containers running 'systemd' version 231 or newer support
|
||||||
|
'cgroupv2' footnote:[this includes all newest major versions of container
|
||||||
|
templates shipped by {pve}], as do containers not using 'systemd' as init
|
||||||
|
system footnote:[for example Alpine Linux].
|
||||||
|
|
||||||
|
NOTE: CentOS 7 and Ubuntu 16.10 are two prominent Linux distributions, which
|
||||||
|
have a 'systemd' version that is too old to run in a 'cgroupv2' environment.
|
||||||
|
|
||||||
|
If file system quotas are not required and the containers support 'cgroupv2',
|
||||||
|
it is recommended to stick to the new default.
|
||||||
|
|
||||||
To switch back to the previous version the following kernel command line
|
To switch back to the previous version the following kernel command line
|
||||||
parameter can be used:
|
parameter can be used:
|
||||||
|
Loading…
Reference in New Issue
Block a user