docker 启动报错 driver not supported

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了docker 启动报错 driver not supported相关的知识,希望对你有一定的参考价值。

场景:升级docker 至 docker-ce-17.03.3 启动异常报错  

systemctl start docker 报错内容:

level=error msg="[graphdriver] prior storage driver overlay2 failed: driver not supported"

解决办法:

sudo mv /var/lib/docker /var/lib/docker.old  
service docker start
rm -rf /var/lib/docker.old
再次启动 systemctl start docker,服务可以正常启动。  

原因是:/var/lib/docker 目录有旧的container 文件,版本升级后需要删除。   

以上是关于docker 启动报错 driver not supported的主要内容,如果未能解决你的问题,请参考以下文章

Docker查看日志报错Error response from daemon: configured logging driver does not support reading

Docker卸载高版本重装低版本后启动提示:driver not supported

docker: Error response from daemon: could not select device driver ““ with capabilities: [[gpu]]问题解决

docker: Error response from daemon: could not select device driver ““ with capabilities: [[gpu]]问题解决

在docker中启动服务报错:New main PID 558 does not belong to service

docker里启动 sshd 报错"Failed to get D-Bus connection: Operation not permitted"