首页 > 其他分享 >detected "egroupfs" as the Docker cgroup driver. The recommended driver is

detected "egroupfs" as the Docker cgroup driver. The recommended driver is

时间:2022-10-28 22:04:51浏览次数:86  
标签:daemon driver json etc recommended detected Cgroup docker

image-20221024164241724.png 修改/etc/docker/daemon.json文件

vim /etc/docker/daemon.json
#添加以下信息
{
 "exec-opts":["native.cgroupdriver=systemd"]
}
docker info | grep "Cgroup Driver"
systemctl restart docker

image-20221024170823847.png

标签:daemon,driver,json,etc,recommended,detected,Cgroup,docker
From: https://blog.51cto.com/u_15485833/5805264

相关文章