ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running? If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable. 

Tell me what this error means and how to fix it?

  • two options - either the docker-daemon is not running (check - ps aux | grep docker ), or try running the command as administrator. - KoVadim
  • Option 2, thanks - ruslik

1 answer 1

Depends on which environment you run docker from.

  1. If you run it from the linux system, then most likely the Docker demon for some reason did not start or was installed incorrectly. As already said above, check if the corresponding process is running: ps aux | grep docker
  2. If you are running Docker on Windows or Mac OS, for example, from a virtual machine through the docker toolbox, then you may have problems with the network bridges of the virtual machine due to which docker cli cannot connect to the daemon.