File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ $ sudo dockerd --add-runtime runc=runc --add-runtime custom=/usr/local/bin/my-ru
181181
182182** --default-cgroupns-mode** ="** host** |** private** "
183183 Set the default cgroup namespace mode for newly created containers. The argument
184- can either be ** host** or ** private** . If unset, this defaults to ` host ` .
184+ can either be ** host** or ** private** . If unset, this defaults to ` host ` on cgroup v1,
185+ ` private ` on cgroup v2.
185186
186187** --default-gateway** =""
187188 IPv4 address of the container default gateway; this address must be part of
@@ -833,7 +834,8 @@ option is available.
833834The ` native.cgroupdriver ` option specifies the management of the container's
834835cgroups. You can only specify ` cgroupfs ` or ` systemd ` . If you specify
835836` systemd ` and it is not available, the system errors out. If you omit the
836- ` native.cgroupdriver ` option,` cgroupfs ` is used.
837+ ` native.cgroupdriver ` option,` cgroupfs ` is used on cgroup v1 hosts, ` systemd `
838+ is used on cgroup v2 hosts with systemd available.
837839
838840This example sets the ` cgroupdriver ` to ` systemd ` :
839841
You can’t perform that action at this time.
0 commit comments