Docker: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 

正文

错误:

[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.

解决方法

  1. 卸载 docker

    yum remove docker

  2. 卸载 docker-selinux

    yum remove docker-selinux

  3. 按照以下链接的内容,安装最新版本的 Docker

    https://blog.csdn.net/KissedBySnow/article/details/90348608

  4. 按照以下链接的内容,重新配置镜像加速代理

    https://blog.csdn.net/KissedBySnow/article/details/90348344


  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值