Docker starts, but trying to do anything results in "error during connect"

Running Docker for Windows on Windows 10 Pro.

I’m brand new to docker and trying to learn. Attempting to do anything results in error like this:

docker version
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24
Built: Wed Mar 21 23:06:28 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm
error during connect: Get dial tcp connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I presume it’s trying to connect to the daemon but have no idea why or how it is configured to use that particular IP address.


Did you manage to figure out the issue? I am experiencing the same issue on Windows 10 Home.

Same here?
any solutions?

Hi, I am also facing the same issue, error during connection on docker version 18.03.01 on Windows 10 Pro. Any help ?

Try right click on docker tray icon then pick “Restart”

this will restore network access, otherwise, cannot access network even within docker container.
I found “Restart” docker need to be done every time machine reboot, is this a bug?

So I was having this issue and I was able to get my docker to work properly. Below are the steps I used but i don’t know if they will be for everybody.

I found out the main issues were stemming from me having ‘Docker Toolbox’ installed before changing to ‘Docker for Windows’

  1. Uninstalled ‘Docker for windows’ (make sure Docker Toolbox and VirtualBox are uninstalled as well)
  2. Go to C:\users[USER] directory and remove ‘.docker’ directory if it is there.
  3. Remove Environmental Variables:
    1. go to control panel/all control panel items/ system click on ‘advanced system settings’ in the advanced tab click ‘Environment Variables’
    2. Remove the below variables by highlighting them and clicking delete. CONFIRM deletion by clicking ‘ok’



You might want to restart you computer just to be safe.


This worked for me as well.

It helped! Thanks a lot!!

BIG THX!!! I nealy jump out of the Windows!

Highly recommended! I worked for me.

Thanks! Thanks! Thanks!
It helped!

Thanks a lot. This worked for me.

Saved me many hours. Thank you so much.

Problem fixed. Thanks.

Thanks a lot, it helps me so great!
Merci beaucoup!

Problem fixed thanks

This tip also worked for me. Had to uninstall Docker as described above, and then download and install it again. Thanks!

Awesome, problem fixed

Thank you it worked for me :slight_smile:


Problem Fixed, Thanks a lot