docker-bash-on-windows icon indicating copy to clipboard operation
docker-bash-on-windows copied to clipboard

Can't connect to the server

Open AlexZeitler opened this issue 8 years ago • 2 comments

I tried to connect to Docker on Windows 10 from bash as you described, but it can't connect to the server:

alexzeitler@DESKTOP-B6UMDTH:~$ docker -H tcp://localhost version
Client:
 Version:      17.03.1-ce
 API version:  1.27
 Go version:   go1.7.5
 Git commit:   c6d412e
 Built:        Mon Mar 27 17:14:09 2017
 OS/Arch:      linux/amd64
Cannot connect to the Docker daemon at tcp://localhost:2375. Is the docker daemon running?

I also tried using the IP address of the machine but it doesn't work neither.

AlexZeitler avatar May 11 '17 20:05 AlexZeitler

@AlexZeitler How I made it work and the info missing is that you need to check the checkbox seen below: image

dhjensen avatar Oct 03 '17 11:10 dhjensen

I made a PR regarding this missing info, but it hasn't been accepted yet.

JensJI avatar Oct 10 '17 13:10 JensJI