Description
Please, check https://docs.docker.com/docker-for-win/troubleshoot/.
Issues without logs and details cannot be debugged, and will be closed.
- I have tried with the latest version of my channel (Stable or Edge)
- I have submitted Diagnostics
- I have included the Diagnostics ID in this Issue
- Windows Version: Windows 10 Pro
- Docker for Windows Version: 10.03.0-ce
Expected behavior
Be able to run all the commands with relatively good response time.
Actual behavior
The response times are pretty awful. They are on at least 25x slower than the Docker Toolbox.
Information
Diagnostic ID: E8F1D8B2-B010-4076-BF6D-E78E749871E8/2018-04-10_13-17-34
Currently running Windows 10 Pro, with 32GB memory, 1TB SSD, Intel quad-core at 2.8GHz (not hyperthreading processes), so pretty good hardware.
Using Docker for Windows with Hyper-V enabled.
Equally slow on Windows and Linux Containers.
Reset to default and failed to achieve any difference.
Equally slow with cmd, powershell, and git bash terminals.
Settings for Docker increased to 10GB memory and 4 CPU cores with no improvement.
Already up to date, so updating won't help.
Steps to reproduce the behavior
- ... Download Docker for Windows
- ... Use it and cry
Activity
tonymet commentedon Apr 10, 2018
general advice for development
Here are directories to exclude
What services to configure exclusions on
Do this and you will notice Docker & WSL will be 100x faster
ghost commentedon Apr 13, 2018
I am seeing exactly the same thing, I have done as suggested and excluded all the relevant directories from Windows Defender. Is there anything else I should be looking at?
tonymet commentedon Apr 15, 2018
@campbellm Next step would be to install procmon https://docs.microsoft.com/en-us/sysinternals/downloads/procmon . That gives detailed process activity listing all system calls and open files. That's how I found the above solutions. You may have another background process , or the exclusions above may not have been configured properly
laymain commentedon Apr 18, 2018
I have the same issue here, I've added my development folders to the Windows Defender exclusion list without any performance improvement.
I've launched procmon and found a relevant event:
Is that a Docker network issue?
77cc33 commentedon May 10, 2018
Try to disable windows defender at all, just for testing. You can use Windows Shutup 10 Tool to do this for sure.
darron1217 commentedon May 10, 2018
I always disable my vaccine softwares when I run docker.
But it's extremely slow even there's no program running on my desktop.
I've assigned more CPU, RAM, SWAP spaces for moby linux, but it never gets better..
I guess it's not the problem of storage access. I think it's related to docker's virtual network accessing speed
TheRealEdwardCullen commentedon May 31, 2018
Have been encountering this on a Windows 10 Enterprise (1709) laptop.
I strongly suspect that it's related to the use of VPN.
I'm using Citrix NetScalar Gateway. The performance of "docker ps" is abysmal when I'm connected, but fine when not.
I'm also encountering "No such container" error when trying to stop a container that is running (visible in ps), though whether that's directly related or not, I'm not sure; I don't know enough about the internals, but it all seems communication-related...
laymain commentedon Jun 1, 2018
I tried to:
without any improvement...
I ended by formatting and reinstalling Windows, everything runs smoothly now.
rwrz commentedon Jun 5, 2018
I disabled Windows defender and it help a lot. But the network between containers seems slow... any ideas?
79 remaining items
billgeek commentedon Dec 12, 2019
I have also been experiencing abysmal performance and found that, at least in my case, it was related to pending updates. (I suspect Windows Defender)
I was working this morning and everything was fine. Came home this evening and everything sucked. (
docker ps -a
took around 4 minutes to respond) I tried everything: Restarting, shutdown and "cold boot", dns flush, nothing helped to improve the performance.As a last resort decided to try checking updates. Three brand new updates were pending (Defender Antivirus Definitions, .NET Framework cumulative updates and Windows cumulative updates) so I installed them, rebooted and now everything seems to be back to normal.
It is definitely also worth noting that this only happened when connected via VPN. Without the VPN the
docker ps -a
command returned near instantly. The moment a VPN connection is established, that command stops responding and takes ages to return anything.In my particular case, it would seem that VPN and Windows Updates are somehow connected, most likely due to the Defender updates.
flindby commentedon Feb 22, 2020
For me, the problem disappears immediately when I just disconnect from my regular home WiFi.
I have tried everything with Windows Defender, but that has no effect on my machine.
mbamarante commentedon Mar 4, 2020
Remove ipv6 of card network windows works for me.
Elio-Shyti commentedon Mar 30, 2020
I am working with docker on win-10. Until before a week was everything working perfectly. Since the last week docker is extremely slow. I tried a lot of things, like uninstall and install again, restart etc. Nothing worked.
Coincidentally I changed from WiFi to LAN connection and at this moment it works again perfectly. I don't have any idea why is this happening but maybe it helps somebody to understand more.
ayhaninal commentedon Apr 5, 2020
This is exactly because of [x] Send usage statistics. Uncheck this and run faster.
silence48 commentedon Apr 10, 2020
i can't get docker ps to respond on windows. It started when i ran docker-compose ps, and it didn't respond... I ran docker ps today before I fell asleep, 5 hours later, it is still stuck. very odd.
bkline commentedon Apr 11, 2020
We have a project whose complete test suite takes an hour on a MacBook running docker. On a comparable Windows 10 box the unit tests by themselves take over 15 hours (the
Behat
tests can't run at all, without hacking the scripts so they won't time out):randre70 commentedon Apr 12, 2020
If your issue is related to windows 10 and using a wifi adapter, try to disable all bridge protocols in the the advanced settings of your wifi adapter. Reference: https://superuser.com/a/540885
Afterwards "docker version" responds immediately.
jakubkeller commentedon Apr 12, 2020
andiramuttakim commentedon Apr 16, 2020
I have this problem since last month, trying to disable ipv6 and netbios from all network, re-install docker, but no luck.
I end up using docker via WSL.
Weird thing is, I've installed docker for windows in 4 machines, but only one that has problem.
ads90 commentedon Jun 12, 2020
for me issue was when i have onedrive syncing at same folder stopping onedrive make it 100X faster
docker-robott commentedon Jul 12, 2020
Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked