-
Notifications
You must be signed in to change notification settings - Fork 291
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 desktop does not start on company computer #10985
Comments
I think WSL 2 has not been set up correctly. See Microsoft's instructions at https://aka.ms/wsl2-install. If it's set up correctly, then the command |
When I run ▶ wsl -l -v
NAME STATE VERSION
* Ubuntu-16.04 Stopped 1
Ubuntu-20.04 Stopped 2
docker-desktop-data Running 2
docker-desktop Running 2 |
I have this same issue. Following suggestions in #8484 as well, I was able to not have this error when I ran |
Issues go stale after 90 days 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 |
/lifecycle frozen |
I'm having mixed success resolving the issue by running The issue has become so prevalent and so annoying that I've disabled docker desktop from starting up automatically on boot, because I pretty much have to fiddle with either gpupdate or WMI service. every. single. time. |
This appears to be an interaction between starting WSL 2 and your company's IT settings. I don't think there's anything Docker can do about it. |
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. |
relates to #10965 #10852 #10354
Actual behavior
On my work laptop, Docker is configured to start when I log in. If I am not connected to my company VPN nor my actual company network when Docker starts, it fails and raise this error :
Expected behavior
Docker desktop start with success
Information
Windows 10 Pro 20H2 19042.928
20.10.5, build 55c4c88
WSL2 but IIRC, I've had it already with Hyper-V backend
No
Yes
No, I've had it for more than a year (before April 2020)
No
It looks like a WSL2 issue because I cannot launch any WSL2 terminals either. I would say it is related to this issue.
It is definitely related to my company active directory since my fix to this issue is :
gpupdate /force
A similar issue occurs when my computer wakes up from hibernation. Here is another fix I found in the wsl issue comments :
Restart-Service vmms
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: