1.查看当前cgroup
docker info | grep -i cgroup
2.创建或者修改/etc/docker/daemon.json
{"exec-opts":["native.cgroupdriver=systemd"]}
或者
{"exec-opts":["native.cgroupdriver=cgroupfs"]}
1.查看当前cgroup
docker info | grep -i cgroup
2.创建或者修改/etc/docker/daemon.json
{"exec-opts":["native.cgroupdriver=systemd"]}
或者
{"exec-opts":["native.cgroupdriver=cgroupfs"]}