service docker start 报错 :Failed to start docker.se
程序员文章站
2022-07-10 20:22:26
...
service docker start 报错 :Failed to start docker.service: Unit not found.
解决办法:
vi /usr/lib/systemd/system/docker.socket
添加内容如下:
[Unit]
Description=Docker Socket for the API
PartOf=docker.service
[Socket]
ListenStream=/var/run/docker.sock
SocketMode=0660
SocketUser=root
SocketGroup=docker
[Install]
WantedBy=sockets.target
保存退出,执行如下动作:
systemctl daemon-reload
systemctl start docker
转载于:https://blog.51cto.com/michaelkang/2160169
推荐阅读
-
Tomcat启动报错:org.apache.catalina.LifecycleException: Failed to start component...java.util.zip.ZipException: error in opening zip file
-
【启报报错】One or more listeners failed to start. Full details will be found in the appropriate container
-
启动docker服务的时候报错:Failed to start docker.service: Unit docker.service is masked.
-
service docker start 报错 :Failed to start docker.se
-
service mysql start 报错总结
-
service docker start 报错
-
The nexus service was launched, but failed to start. --nexus启动报错完美解决
-
centos启动rpcbind报错Job rpcbind.service/start failed with result 'dependency'
-
Linux启动某个服务报错:Failed to start xxx.service: Unit not found
-
zookeeper启动时报错:Starting zookeeper ... FAILED TO START