Docker Community Forums

Share and learn in the Docker community.

Docker daemon not working

error during connect: Get http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.40/images/json: open //./pipe/docker_engine: The syst
em cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevate
d to connect. This error may also indicate that the docker daemon is not running.

The Post-installation steps for Linux documentation reveals the following steps:

Create the docker group.
sudo groupadd docker
Add the user to the docker group.
sudo usermod -aG docker $(whoami)
Log out and log back in to ensure docker runs with correct permissions.
Start docker.
sudo service docker start
Mac OS X
As Dayel Ostraco says is necessary to add environments variables:

docker-machine start # Start virtual machine for docker
docker-machine env # It’s helps to get environment variables
eval “$(docker-machine env default)” # Set environment variables
The docker-machine start command outputs the comments to guide the process.