搜尋

首頁  >  問答  >  主體

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.

请问是什么问题???

阿神阿神2774 天前778

全部回覆(1)我來回復

  • 大家讲道理

    大家讲道理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."

    你的核心版本需要升級,可參考這裡的回答

    回覆
    0
  • 取消回覆