docker报错:Failed to restart docker.service: Unit not found.

Posted ming369

tags:

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

前言:我之前安装好docker了,但是关机重启后,发现docker就没了

报错:Failed to restart docker.service: Unit not found.

技术图片
 

 

 

解决方法:

1.重装大法,法力无边

a.先卸载上个版本的相关软件

yum -y  remove  docker  docker-common  docker-selinux  docker-engine

b.安装docker

最详细最快部署docker::https://www.jianshu.com/p/9c96ea8e6f41

以上是关于docker报错:Failed to restart docker.service: Unit not found.的主要内容,如果未能解决你的问题,请参考以下文章

启动docker报错:Failed to start Docker Application Container Engine.

docker起不来报错:Failed to start Docker Application Container Engine.

Docker Compose报错Failed to Setup IP tables

docker报错:Failed to restart docker.service: Unit not found.

Docker 报错 Failed to get D-Bus connection

docker安装完报错:Failed to start docker.service: Unit docker.service is masked