修改/etc/docker/daemon.json文件
vim /etc/docker/daemon.json
#添加以下信息
{
"exec-opts":["native.cgroupdriver=systemd"]
}
docker info | grep "Cgroup Driver"
systemctl restart docker
标签:daemon,driver,json,etc,recommended,detected,Cgroup,docker
From: https://blog.51cto.com/u_15485833/5805264