Error starting daemon: error initializing graphdriver: driver not supported

重装了docker-ce之后,启动docker发生以下报错

● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2019-05-05 19:26:05 CST; 6s ago
     Docs: https://docs.docker.com
  Process: 23921 ExecStart=/usr/bin/dockerd (code=exited, status=1/FAILURE)
 Main PID: 23921 (code=exited, status=1/FAILURE)

May 05 19:26:04 k8s02 systemd[1]: Starting Docker Application Container Engine...
May 05 19:26:04 k8s02 dockerd[23921]: time="2019-05-05T19:26:04.781672123+08:00" level=info msg="libcontainerd: new containerd process, pid: 23929"
May 05 19:26:05 k8s02 dockerd[23921]: time="2019-05-05T19:26:05.788206959+08:00" level=error msg="[graphdriver] prior storage driver overlay2 failed: driver not supported"
May 05 19:26:05 k8s02 dockerd[23921]: Error starting daemon: error initializing graphdriver: driver not supported
May 05 19:26:05 k8s02 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
May 05 19:26:05 k8s02 systemd[1]: Failed to start Docker Application Container Engine.
May 05 19:26:05 k8s02 systemd[1]: Unit docker.service entered failed state.
May 05 19:26:05 k8s02 systemd[1]: docker.service failed

解决方法
[root@k8s02 ~]# rm -fr /var/lib/docker/*
[root@k8s02 ~]# systemctl start docker

上一篇:OkHttp访问服务器中的xml资源


下一篇:Linux_CentOS_dmidecode命令详解