zoukankan      html  css  js  c++  java
  • Failed to start Docker Application Container

    [root@localhost ~]# 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 Mon 2019-01-28 04:00:18 PST; 2min 41s ago
         Docs: http://docs.docker.com
      Process: 60006 ExecStart=/usr/bin/dockerd-current --add-runtime docker-runc=/usr/libexec/docker/docker-runc-currentuserland-proxy-path=/usr/libexec/docker/docker-proxy-current --init-path=/usr/libexec/docker/docker-init-current --se$DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY $REGISTRIES (code=exited, status=1/FAILURE)
     Main PID: 60006 (code=exited, status=1/FAILURE)
    
    Jan 28 04:00:17 localhost.localdomain systemd[1]: Starting Docker Application Container Engine...
    Jan 28 04:00:17 localhost.localdomain dockerd-current[60006]: time="2019-01-28T04:00:17.749182186-08:00" level=warnin
    Jan 28 04:00:17 localhost.localdomain dockerd-current[60006]: time="2019-01-28T04:00:17.751260562-08:00" level=info m
    Jan 28 04:00:18 localhost.localdomain dockerd-current[60006]: time="2019-01-28T04:00:18.767364925-08:00" level=warnin
    Jan 28 04:00:18 localhost.localdomain dockerd-current[60006]: Error starting daemon: SELinux is not supported with th
    Jan 28 04:00:18 localhost.localdomain systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
    Jan 28 04:00:18 localhost.localdomain systemd[1]: Failed to start Docker Application Container Engine.
    Jan 28 04:00:18 localhost.localdomain systemd[1]: Unit docker.service entered failed state.
    Jan 28 04:00:18 localhost.localdomain systemd[1]: docker.service failed.
    Hint: Some lines were ellipsized, use -l to show in full.
    解决:删除/var/lib/docker/下面所有内容,重启docker。
    重启后/var/lib/docker/里面的数据会重新生成。
    rm -rf /var/lib/docker/*
    systemctl start docker
    

      

  • 相关阅读:
    Python基础(2)
    Python基础(3)
    Python基础(1)
    [日本语]单词1
    【.Net】 C#参数数组与函数重载
    pyenv
    Pip批量安装/卸载包
    Xcode中模拟器慢
    iPhone的设备名转换
    在python命令行执行sudo命令
  • 原文地址:https://www.cnblogs.com/wwzyy/p/10332881.html
Copyright © 2011-2022 走看看