0

System: Ubuntu 20.02:

Whe I run systemctl status docker, I got:

● docker.service - Docker Application Container Engine
     Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
     Active: active (running) since Thu 2022-10-20 14:52:17 JST; 26s ago
TriggeredBy: ● docker.socket
       Docs: https://docs.docker.com
   Main PID: 811329 (dockerd)
      Tasks: 40
     Memory: 26.7M
     CGroup: /system.slice/docker.service
             └─811329 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

but when I run docker container list, I got:

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

What is the matter?

olo
  • 133
  • 1
  • 7
  • This question has been answered here: https://stackoverflow.com/questions/44678725/cannot-connect-to-the-docker-daemon-at-unix-var-run-docker-sock-is-the-docker – rezshar Oct 20 '22 at 07:18

0 Answers0