docker 启动异常
作者:互联网
linux
CentoOS-7.2
docker 启动异常一
Jan 07 00:49:42 localhost.jarvis dockerd-current[53365]: time="2021-01-07T00:49:42.965686913+08:00" level=warning msg="could not change group /var/run/docker.sock to docker: group docker not found" Jan 07 00:49:42 localhost.jarvis dockerd-current[53365]: time="2021-01-07T00:49:42.969009357+08:00" level=info msg="libcontainerd: new containerd process, pid: 53371" Jan 07 00:49:44 localhost.jarvis dockerd-current[53365]: Error starting daemon: SELinux is not supported with the overlay2 graph driver on this kernel. Either boot into a newer kernel
or disable selinux in docker (--selinux-enabled=false) Jan 07 00:49:44 localhost.jarvis systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE Jan 07 00:49:44 localhost.jarvis systemd[1]: Failed to start Docker Application Container Engine.
解决办法:vim /etc/sysconfig/docker
配置: --selinux-enabled=false
docker 启动异常二
Jan 07 00:47:29 localhost.jarvis dockerd-current[53283]: unable to configure the Docker daemon with file /etc/docker/daemon.json: EOF Jan 07 00:47:29 localhost.jarvis systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE Jan 07 00:47:29 localhost.jarvis systemd[1]: Failed to start Docker Application Container Engine. -- Subject: Unit docker.service has failed
解决办法:vim /etc/docker/daemon.json 配置为空:
{ }
标签:00,07,启动,Jan,docker,异常,jarvis,localhost 来源: https://www.cnblogs.com/xiluhua/p/14242849.html