docer启动出错

[root@centos-minion yum.repos.d]# 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@centos-minion yum.repos.d]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 一 2018-05-28 17:46:55 CST; 18s ago
Docs: http://docs.docker.com
Process: 13351 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: 13351 (code=exited, status=1/FAILURE) 5月 28 17:46:53 centos-minion systemd[1]: Starting Docker Application Container Engine...
5月 28 17:46:53 centos-minion dockerd-current[13351]: time="2018-05-28T17:46:53.858516000+08:00" ...8"
5月 28 17:46:55 centos-minion dockerd-current[13351]: Error starting daemon: SELinux is not suppo...e)
5月 28 17:46:55 centos-minion systemd[1]: docker.service: main process exited, code=exited, stat...URE
5月 28 17:46:55 centos-minion systemd[1]: Failed to start Docker Application Container Engine.
5月 28 17:46:55 centos-minion systemd[1]: Unit docker.service entered failed state.
5月 28 17:46:55 centos-minion systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@centos-minion yum.repos.d]# vim /etc/sysconfig/docker
[root@centos-minion yum.repos.d]# systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 一 2018-05-28 17:46:55 CST; 42s ago
Docs: http://docs.docker.com
Process: 13351 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: 13351 (code=exited, status=1/FAILURE) 5月 28 17:46:53 centos-minion systemd[1]: Starting Docker Application Container Engine...
5月 28 17:46:53 centos-minion dockerd-current[13351]: time="2018-05-28T17:46:53.858516000+08:00" ...8"
5月 28 17:46:55 centos-minion dockerd-current[13351]: Error starting daemon: SELinux is not suppo...e)
5月 28 17:46:55 centos-minion systemd[1]: docker.service: main process exited, code=exited, stat...URE
5月 28 17:46:55 centos-minion systemd[1]: Failed to start Docker Application Container Engine.
5月 28 17:46:55 centos-minion systemd[1]: Unit docker.service entered failed state.
5月 28 17:46:55 centos-minion systemd[1]: docker.service failed.
Hint: Some lines were ellipsized, use -l to show in full.

修改docker配置文件,修改如下

OPTIONS='--selinux-enabled=false --insecure-registry gcr.io'
if [ -z "${DOCKER_CERT_PATH}" ]; then
DOCKER_CERT_PATH=/etc/docker
fi

注意hosts需要添加gcr.io的相应解析

61.91.161.217  gcr.io

最新文章

  1. JAVA手记 JAVA入门(安装+Dos下运行)
  2. PL/SQL无法连接,提示:pl/sql initialization error sql*net not properly installed
  3. paip.函数式编程方法概述以及总结
  4. Busybox下mdev配置说明
  5. LeetCode | Regular Expression Matching
  6. Spring管理bean的生命周期
  7. STM32 串口DMA方式接收(转)
  8. C++中Map常见用法以及按照value排序
  9. MQTT 简介
  10. AtCoder Regular Contest 069 D
  11. Python使用Ctypes与C/C++ DLL文件通信过程介绍及实例分析
  12. SpringBoot主程序注解@SpringBootApplication简单分析
  13. java开发个人简历
  14. HTML5(FileRdeader)
  15. eclipse中集成python开发环境
  16. ccf-20160903--炉石传说
  17. GYM 101173 K.Key Knocking(构造)
  18. .NET MVC 保存Session值,6位数验证码
  19. 【linux】使用swap文件恢复非正常关闭的文件
  20. Json递归解析实例

热门文章

  1. [apue] 作为 daemon, 启动 Unix Domain Socket 侦听失败?
  2. 安装dbeaver,The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone.
  3. Flash 上下文管理
  4. ORM Q查询
  5. lisp学习有感--对象化,结构化编程思想
  6. colab上基于tensorflow2.0的BERT中文多分类
  7. EsClientRHL-elasticsearch java客户端开源工具
  8. 11、python模块的导入
  9. C语言实现按位拷贝
  10. JS实现 JSON扁平数据转换树状数据