在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.
请问是什么问题???
大家讲道理2017-04-21 11:20:09
Linux カーネル バージョン 2.6.32-042stab093.5 を実行していますが、Docker の実行が不安定である可能性があります。カーネルを 3.8.0 にアップグレードしてください。」
カーネルのバージョンをアップグレードする必要があります。ここで答えを参照してください