概述
目录导航
- Error:Failed to start Docker Application Container Engine.
- 正文
Error:Failed to start Docker Application Container Engine.
错误:无法启动 Docker 应用的容器引擎。
简介: Docker 在配置完镜像加速代理后,出现无法启动服务的情况。原因一般为:Docker 版本过低。解决方法为:安装最新的 Docker 应用。
本文参考: https://www.cnblogs.com/amoyzhu/p/5261393.html
环境:
-
CentOS Linux release 7.6.1810 (Core)
-
Docker version 18.09.3, build 774a1f4
创建时间:2019/5/19 22:01:21
创建人:于子源
修改记录:修改人+修改时间+修改说明(多人修改时,增加多条)
当前版本:version 1.0.0
正文
错误:
[root@192 ~]# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 六 2019-05-11 16:07:38 CST; 18s ago
Docs: http://docs.docker.com
Process: 9857 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-current --default-runtime=docker-runc --exec-opt native.cgroupdriver=systemd --userland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --seccomp-profile=/etc/docker/seccomp.json $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
Main PID: 9857 (code=exited, status=1/FAILURE)
5月 11 16:07:38 192.168.1.200 systemd[1]: Starting Docker Application Container Engine…
5月 11 16:07:38 192.168.1.200 dockerd-current[9857]: unable to configure the Docker daemon with file /etc/docker/daemon.json: invalid character ‘â’ looking for beginning of…ct key string
5月 11 16:07:38 192.168.1.200 systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
5月 11 16:07:38 192.168.1.200 systemd[1]: Failed to start Docker Application Container Engine.
5月 11 16:07:38 192.168.1.200 systemd[1]: Unit docker.service entered failed state.
5月 11 16:07:38 192.168.1.200 systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
解决方法:
-
卸载 docker
yum remove docker
-
卸载 docker-selinux
yum remove docker-selinux
-
按照以下链接的内容,安装最新版本的 Docker
https://blog.csdn.net/KissedBySnow/article/details/90348608
-
按照以下链接的内容,重新配置镜像加速代理
https://blog.csdn.net/KissedBySnow/article/details/90348344
最后
以上就是孤独吐司为你收集整理的Docker:Error:Failed to start Docker Application Container Engine.Error:Failed to start Docker Application Container Engine.的全部内容,希望文章能够帮你解决Docker:Error:Failed to start Docker Application Container Engine.Error:Failed to start Docker Application Container Engine.所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复