无法在Oracle Linux上启动Docker

时间:2019-11-21 17:25:03

标签: docker docker-compose

我跟踪了很多链接,但没有任何有效的解决方案。

docker run hello-world
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.

当我这样做

systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: inactive (dead)
     Docs: https://docs.docker.com

执行时

systemctl enable docker.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-unit-files ===
Authentication is required to manage system service or unit files.
Authenticating as: vagrant
Password:

我遇到了以上错误。我正在使用Oracle Linux

uname -a
Linux 10-10-150-104 3.10.0-693.el7.x86_64 #1 SMP Wed Aug 2 06:49:08 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux 

0 个答案:

没有答案