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

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

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

docker报错:Failed to restart docker.service: Unit not found._第1张图片
 

 

 

解决方法:

1.重装大法,法力无边

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

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

b.安装docker

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

转载于:https://www.cnblogs.com/ming369/p/10708239.html

你可能感兴趣的:(docker报错:Failed to restart docker.service: Unit not found.)