docker重新安装后无法启动

时间:2022-08-30 17:11:10

问题描述:

  docker版本升级或者重新安装后,无法启动服务,出现如下报错:

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

问题解决:

  docker版本升级或者重新安装后 ,在/var/lib目录下会有旧文件的存在,需删除后方可启动服务,操作如下;

# mv /var/lib/docker /var/lib/docker.old 
# systemctl start docker
# rm -rf /var/lib/docker.old