栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Failed to start Docker Application Container Engine.

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Failed to start Docker Application Container Engine.

Failed to start Docker Application Container Engine.

今天突然发现docker暂停了,启动不起来,文字描述如下:

[root@hfwas /]# docker ps 
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
[root@hfwas /]# 
[root@hfwas /]# 
[root@hfwas /]# 
[root@hfwas /]# systemctl start docker 
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.
[root@hfwas /]# 
[root@hfwas /]# 
[root@hfwas /]# systemctl start docker 
Job for docker.service failed because the control process exited with error code.
See "systemctl status docker.service" and "journalctl -xe" for details.

执行jouranalctl -xe 查看具体的报错信息如下所示:

[root@hfwas /]# journalctl -xe 
-- 
-- 启动结果为“done”。
4月 22 23:12:01 hfwas systemd[1098]: Reached target Default.
-- Subject: UNIT 单元已结束启动
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- UNIT 单元已结束启动。
-- 
-- 启动结果为“done”。
4月 22 23:12:01 hfwas systemd[1098]: Startup finished in 27ms.
-- Subject: User manager start-up is now complete
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The user manager instance for user 0 has been started. All services queued
-- for starting have been started. Note that other services might still be starting
-- up or be started at any later time.
-- 
-- Startup of the manager took 27896 microseconds.
4月 22 23:12:01 hfwas systemd[1]: Started User Manager for UID 0.
-- Subject: user@0.service 单元已结束启动
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- user@0.service 单元已结束启动。
-- 
-- 启动结果为“done”。
4月 22 23:12:01 hfwas sshd[1094]: pam_unix(sshd:session): session opened for user root by (uid=0)
4月 22 23:12:07 hfwas chronyd[737]: Selected source 100.100.61.88
4月 22 23:12:07 hfwas chronyd[737]: System clock wrong by 1.029488 seconds, adjustment started
4月 22 23:12:08 hfwas systemd[1]: NetworkManager-dispatcher.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The unit NetworkManager-dispatcher.service has successfully entered the 'dead' state.
4月 22 23:12:14 hfwas systemd[1]: docker.service: Start request repeated too quickly.
4月 22 23:12:14 hfwas systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The unit docker.service has entered the 'failed' state with result 'exit-code'.
4月 22 23:12:14 hfwas systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: docker.service 单元已失败
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- docker.service 单元已失败。
-- 
-- 结果为“failed”。
4月 22 23:12:18 hfwas systemd[1]: docker.service: Start request repeated too quickly.
4月 22 23:12:18 hfwas systemd[1]: docker.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The unit docker.service has entered the 'failed' state with result 'exit-code'.
4月 22 23:12:18 hfwas systemd[1]: Failed to start Docker Application Container Engine.
-- Subject: docker.service 单元已失败
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- docker.service 单元已失败。
-- 
-- 结果为“failed”。
4月 22 23:12:27 hfwas systemd[1]: systemd-hostnamed.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://access.redhat.com/support
-- 
-- The unit systemd-hostnamed.service has successfully entered the 'dead' state.

截图如下:

经过谷歌搜索得到结局办法:

  • 删除/etc/docker/daemon.json文件,然后重启docker
  • 在执行systemctl start docker.service

资料链接:

  • https://stackoverflow.com/questions/49110092/failed-to-start-docker-application-container-engine
  • 截图如下:

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/827307.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号