3

I am new to Docker and after writing docker version in cmd

I got this error:

error during connect: This error may indicate that the docker daemon is not running.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/version": open //./pipe/docker_engine: The system cannot find the file specified.

Edit: the OS is Windows.

Antonio Petricca
  • 8,891
  • 5
  • 36
  • 74

1 Answers1

1

On Linux you should check the daemon status by systemctl status docker.service, then:

sudo systemctl enable docker.service
sudo systemctl enable docker.socket

sudo systemctl start docker.socket
sudo systemctl start docker.service

On Windows you should check its status by the Windows Service Manager.

Antonio Petricca
  • 8,891
  • 5
  • 36
  • 74