• CentOS启动docker1.13失败(Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.)


    一、启动失败

    1.启动docker

    [root@localhost ~]# 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.

    上面表示输入 systemctl status docker.service 查看详细原因

    2.查看启动失败原因

    [root@localhost ~]# systemctl status docker.service

    [root@192 桌面]# systemctl status docker.service

    [root@192 桌面]# 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-11-18 11:55:12 CST; 38s ago
    Docs: http://docs.docker.com
    Process: 6659 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: 6659 (code=exited, status=1/FAILURE)

    11月 18 11:55:11 192.168.1.10 systemd[1]: Starting Docker Application Conta....
    11月 18 11:55:11 192.168.1.10 dockerd-current[6659]: time="2018-11-18T11:55:...
    11月 18 11:55:11 192.168.1.10 dockerd-current[6659]: time="2018-11-18T11:55:...
    11月 18 11:55:12 192.168.1.10 dockerd-current[6659]: time="2018-11-18T11:55:...
    11月 18 11:55:12 192.168.1.10 dockerd-current[6659]: Error starting daemon: ...
    11月 18 11:55:12 192.168.1.10 systemd[1]: docker.service: main process exit...E
    11月 18 11:55:12 192.168.1.10 systemd[1]: Failed to start Docker Applicatio....
    11月 18 11:55:12 192.168.1.10 systemd[1]: Unit docker.service entered faile....
    11月 18 11:55:12 192.168.1.10 systemd[1]: docker.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.

    3.解决方法:

      1.cd /etc/sysconfig 进入这个文件夹下,

      vi docker 打开这个文件 修改 OPTIONS='--selinux-enabled=false 这个参数即可

      2.修改完配置文件

    启动docker 启动就成功

  • 相关阅读:
    cocos2d游戏jsc文件格式解密,SpideMonkey大冒险
    抖音下载短视频去水印方法
    Metaspliot技术
    WAF bypass
    博客园美化
    Redis未授权访问利用
    网站后台getshell
    OpenVAS
    跨站脚本攻击与防御总结
    相同浏览器同一浏览器多用户登录问题
  • 原文地址:https://www.cnblogs.com/China-YangGISboy/p/9977448.html
Copyright © 2020-2023  润新知