suchen

Heim  >  Fragen und Antworten  >  Hauptteil

CentOS7 安裝Docker後啟動失敗

在CentOS7上执行yum install docker安装docker后,
啟動失敗

# systemctl status docker.service -l
 systemctl status docker.service -l
docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled)
   Active: failed (Result: exit-code) since Tue 2015-04-14 20:39:21 JST; 1min 0s ago
     Docs: http://docs.docker.com
  Process: 29830 ExecStart=/usr/bin/docker -d $OPTIONS $DOCKER_STORAGE_OPTIONS $DOCKER_NETWORK_OPTIONS $ADD_REGISTRY $BLOCK_REGISTRY $INSECURE_REGISTRY (code=exited, status=1/FAILURE)
 Main PID: 29830 (code=exited, status=1/FAILURE)

Apr 14 20:39:21 vir.kagoya.net systemd[1]: Starting Docker Application Container Engine...
Apr 14 20:39:21 vir.kagoya.net docker[29830]: time="2015-04-14T20:39:21+09:00" level="info" msg="+job serveapi(unix:///var/run/docker.sock)"
Apr 14 20:39:21 vir.kagoya.net docker[29830]: time="2015-04-14T20:39:21+09:00" level="info" msg="WARNING: You are running linux kernel version 2.6.32-042stab093.5, which might be unstable running docker. Please upgrade your kernel to 3.8.0."
Apr 14 20:39:21 vir.kagoya.net docker[29830]: time="2015-04-14T20:39:21+09:00" level="info" msg="+job init_networkdriver()"
Apr 14 20:39:21 vir.kagoya.net docker[29830]: package not installed
Apr 14 20:39:21 vir.kagoya.net docker[29830]: time="2015-04-14T20:39:21+09:00" level="info" msg="-job init_networkdriver() = ERR (1)"
Apr 14 20:39:21 vir.kagoya.net docker[29830]: time="2015-04-14T20:39:21+09:00" level="fatal" msg="package not installed"
Apr 14 20:39:21 vir.kagoya.net systemd[1]: docker.service: main process exited, code=exited, status=1/FAILURE
Apr 14 20:39:21 vir.kagoya.net systemd[1]: Failed to start Docker Application Container Engine.
Apr 14 20:39:21 vir.kagoya.net systemd[1]: Unit docker.service entered failed state.

请问是什么问题???

阿神阿神2778 Tage vor781

Antworte allen(1)Ich werde antworten

  • 大家讲道理

    大家讲道理2017-04-21 11:20:09

    You are running linux kernel version 2.6.32-042stab093.5, which might be unstable running docker. Please upgrade your kernel to 3.8.0."

    你的内核版本需要升级,可参考这里的回答

    Antwort
    0
  • StornierenAntwort