上班的时间一直玩k8s,今天休息想在家玩一玩,掏出我的老古董,ubuntu 14,恩~,
systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since 六 2018-05-19 11:50:10 CST; 25s ago
Docs: https://docs.docker.com
Process: 31086 ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)
Main PID: 31086 (code=exited, status=1/FAILURE)
5月 19 11:50:10 linking systemd[1]: Starting Docker Application Container Engine...
5月 19 11:50:10 linking docker[31086]: time="2018-05-19T11:50:10+08:00" level=fatal msg="unable to con
5月 19 11:50:10 linking systemd[1]: docker.service: Main process exited, code=exited, status=1/FAILURE
5月 19 11:50:10 linking systemd[1]: Failed to start Docker Application Container Engine.
5月 19 11:50:10 linking systemd[1]: docker.service: Unit entered failed state.
5月 19 11:50:10 linking systemd[1]: docker.service: Failed with result 'exit-code'.
恩~,毕竟2年前的东西,出问题合理,分析一下问题。
ExecStart=/usr/bin/docker daemon -H fd:// (code=exited, status=1/FAILURE)
/usr/bin/docker daemon的启动程序有问题,恩~
{
"storage-driver": "devicemapper",
"storage-opts": [
"dm.thinpooldev=/dev/mapper/docker-thinpool",
"dm.use_deferred_removal=true",
"dm.use_deferred_deletion=true"
]
}
参看ubuntu给的example
http://manpages.ubuntu.com/manpages/xenial/man8/docker-daemon.8.html
修改所有不必要的配置
{
"storage-driver"
:
"devicemapper"
}
~
systemctl restart docker
success
对比一下2个json file,想起最近遇到的问题,做产品,和这些配置文件一样
都是特征的提取与叠加,简单是不是最好的呢
网友评论