-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker-compose commands perform very slowly #629
Comments
@herecydev could I convince you to run and post diagnostic ids, preferable both before and after you incur the slowdown. Pinging @shin- |
Absolutely, several of us here are seeing the same symptoms and want to help but don't really know what to look for. Could you advise us what's the best way to get the information you need. Additional information we discovered today: machine restarts help in a similar way to reinstalling docker but for a limited time only. At some undefined point, severe performance problems occur, though it seems like frequent activity accelerates the problem. Once again, base docker commands are unaffected but compose is seriously impacted. I've looked for unusual DNS requests using CC'ing @smudge202 |
Yep that's perfect will post back ASAP with some IDs. |
Hopefully it's acceptable that I've done this slightly out of order. So my machine had been on for a while and was experiencing the incredibly sluggish
After restarting I did a Let me know if you need anything else. |
@friism Was everything okay with those diagnostics? Do you need anything else? |
I experienced the same issue. In my case I had an http proxy set on Edge which applied Windows wide. Turning the proxy off immediately speeds up docker-compose. However, I was not able to figure out yet what needs to be added to the proxy bypass to make the system use the proxy and bypass the proxy for docker-compose. |
Can confirm there's some proxy magic going on that's causing compose to slow down. In our case, we frequently have to use fiddler and it was causing the slow down. When you shut it down, the compose immediately completes. Hope that helps @friism. I'm still unsure what interaction compose is having with the windows host. |
I am experiencing exactly the same issue. docker-compose is basically unusable for me behind a corporate proxy. Here is my support ID: 7CC20D73-F6F6-4838-BAF9-F87958043D04/2017-07-04_20-50-21 |
Same problem here with Fiddler. Disabling proxy is not a solution. |
Same issue here... |
Using Docker on Windows in a corporate secure environment is like being stoned to death. After figuring out a work-around for the inability to create volumes due to the firewall, I've now hit this issue too. |
Similar here: Win10 and using docker-compose, but if i set windows environment variables http_proxy and https_proxy its fast again (probably bypasses windows system proxy) |
I get very slow response times as well, but it's not limited to docker-compose. For example, version info Version: 18.03.0-ce-rc1-win54 (16164) A diagnostic was uploaded with id: 77B8452F-E5DE-4F24-9721-1E92EA992B77/2018-03-30_18-43-13 |
I encountered the same issue with |
docker compose up command takes too much time !! how can I solve this? |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale This is still an issue :-( |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale Slow here also, behind corporate proxy. Removing it is not an option. |
Also having this issue. Behind corporate firewall. |
Closed issues are locked after 30 days of inactivity. 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. |
I've put a comment here also but I'm thinking that this is more targeted to docker for windows.
Expected behavior
Docker-compose performs quickly, as normal docker commands do.
Actual behavior
Docker-compose has significant delays when executing commands like
docker-compose ps
. Usually around 100x that of normal docker commands likedocker ps
. The waits seem to occur around the following logs:or
But it's very difficult to pinpoint the issue. Commands like
docker run
ordocker ps
are completely unaffected.Information
Windows 10 Professional
Version 17.03.1-ce-win5 (10743)
I have tried changing the DNS to google's DNS 8.8.8.8 but this hasn't affected the time. Internet connectivity is wired, and experiencing normal, quick responses on the host (windows machine). I'm more than happy to provide more information, but I don't know what else to give.
Factory reset of docker does not help, however uninstalling, deleting hyper-v machines and reinstalling docker completely does help temporarily. It will run smoothly until an indeterminate amount of time (usually under an hour) at which point it exhibits the excessive wait times.
The text was updated successfully, but these errors were encountered: