想安装habor,提示安装docker高版本,发现docker已经变为docker-ce,装吧。
装完报错:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
看日志:
Failed to start Docker Application Container Engine.
Unit docker.service entered failed state.
docker.service failed.
start request repeated too quickly for docker.service
报一大堆。
google一下,各种方法,还有删除docker文件的方法,晕,
后来一运行 dockerd --debug,报
INFO[2019-08-23T14:45:34.631301476+08:00] Starting up
failed to start daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid
好吧,那看一下,ps -ef|grep docker,报
root 3630 5972 0 14:45 pts/2 00:00:00 grep --color=auto docker
root 11339 1 0 Jul05 ? 02:38:33 /usr/bin/dockerd-current
root 11352 11339 0 Jul05 ? 01:01:34 /usr/bin/docker-containerd-current -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-containerd-shim --runtime docker-runc
原来如此, kill -9 掉各位后,重新systemctl启动docker,done!