Reputation: 1922
I installed the docker toolbox but when i try to create a container it gives me that error. The version is returned but it's not possible to create a container.
OS: Windows 10 Home
ERROR: 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.
Upvotes: 8
Views: 14222
Reputation: 23
In 2024, I've encountered this issue, and I disabled WSL Integration for Ubuntu on Docker Desktop -> Settings -> Resources -> WSL Integration to fix the issue.
Upvotes: 1
Reputation: 41
Other resources suggested to deinstall and install docker for windows or the toolbox again, or said you couldn't run both at the same time. But that was not the problem for me. Turns out I just needed to update VirtualBox 6.0 to 6.1.
TLDR; Is your docker vm even running? Are you using a troublesome VirtualBox version? Update!
Upvotes: 4
Reputation: 6291
I had the same problem with Docker Desktop (Year 2021). None of the solutions worked. Finally I tried the following and it worked.
Upvotes: 6