我刚刚在ubuntu机器上成功安装了docker,但是我无法启动,并且它抛出以下错误消息
命令:
sudo服务docker start
错误:
Job for docker.socket failed. See "systemctl status docker.socket" and "journalctl -xe" for details.
Failed to start docker.service: Unit docker.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status docker.service' for details
。
系统详细信息:
Uname -a
Linux instance-1 4.15.0-1029-gcp#31〜16.04.1-Ubuntu SMP 3月22日星期五 13:06:42 UTC 2019 x86_64 x86_64 x86_64 GNU / Linux
Docker版本18.09.2,内部版本6247962
我在检查docker信息时也看到了以下内容:
sudo docker info
[sudo] password for achu:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
如果我运行systemctl status docker.socket,我将获得以下详细信息
● docker.socket - Docker Socket for the API
Loaded: loaded (/lib/systemd/system/docker.socket; enabled; vendor preset: enabled)
Active: failed (Result: service-start-limit-hit) since Thu 2019-05-09 03:53:13 PDT; 5h 0min ago
Listen: /var/run/docker.sock (Stream
我也只是检查了docker.socket文件,在/var/run/docker.sock位置没有看到任何docker.sock。
任何帮助将不胜感激。