Upgrade gets stuck in "Stopping VM and preparing for update" state
Expected behavior
Update to 17.11.0-ce-win40 succeeds
Actual behavior
Update starts but gets stuck in "stopping VM and preparing for update" stage. Closing windows doesn't work restarting and trying again doesn't work.
Information
- Diagnostic ID from "Diagnose & Feedback" in the menu.
- a reproducible case if this is a bug, Dockerfiles FTW
- page URL if this is a docs issue or the name of a man page
- host distribution and version (Windows version, build number, etc)

Steps to reproduce the behavior
- ...
- ...
I have had the exact same issue for about a month now. Docker will not start, update or allow uninstalling. I have tried killing all running Docker processes and running the installer from scratch, but no cigar. Were you able to fix this properly or should I consider some kind of manual uninstall?
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
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. /lifecycle stale
Same problem. Docker stopped working after android studio modified some stuff in my Windows machine. Can't start or update Docker now.
@blood0cean I think Android Studio installs HAXM, which is another hypervisor. Unfortunately, HAXM and Hyper-V are mutually exclusive. However, I think Microsoft just released (or is about to release) Hyper-V support for the Android emulator: https://blogs.msdn.microsoft.com/visualstudio/2018/05/08/hyper-v-android-emulator-support/ which should avoid the issue.
Same problem when trying to upgrade to 2.1.0.2.
Is this issue getting any priority at all?
I'm not sure how detailed my solution has to be, but it seems like when I went to Program and Features in Windows Settings and turned on Hyper-V, it fixed this issue.
Same problem here trying to go from 2.1.0.2 to 2.1.0.5. Initially installed with choco, so I suspect something nonstandard happened there, but it looks like people have been experiencing this issue off and on since 2016 so perhaps it's deeper.
I made a bunch of changes that eventually worked after several false steps and reboots. The installer bundled with 2.1.0.2 and 2.1.0.5 managed to wreck my system to the point where I had to do a snapshot restore, so I do not recommend a traditional uninstall.
The following steps worked for me:
- Turn on the following Windows Features: Hyper-V Containers Windows Hypervisor Platform
- Open Hyper-V Manager and stop any Docker instances you see
- Download and install the latest Docker Desktop I used 2.2.0.3 (42716)
- When prompted, allow the installer to remove the old version
Same problem for me. Since 2.2 version, update and uninstall are failing.
Looks like udpate and uninstall requires to stop/remove VM while they can't
Contacted slack channel #docker-desktop-win, didn't get no answer
Edit: Found a weird thing, deactivated WSL feature and docker engine update went well. No issue issue with docker engine runtime as well If I reactivate WSL, I get an error with docker engine I sent the report number A4FCEBC4-D475-4AAD-A7D1-9121834A0248/20200228155301

/remove-lifecycle stale
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30d of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
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. /lifecycle stale
Just got this when trying to upgrade from 2.2.0.3 to 2.3.0.3. Above fixes did nothing to resolve the issue.
/remove-lifecycle stale
Just happened while updating to 2.3.0.4
Yup, 2.3.0.4 and same results on two different laptops.
I have the same on 2.3.0.5
Same happend on my machine after running docker on WSL2.
Before updating, switch back to Hyper-V, then run the update and everything works fine. Must be a bug in the installer I guess...
Para mim resolveu, executando o comando Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All no PowerShell como admin, logo após reiniciando o W10 e atualizando o Docker.
https://www.gitmemory.com/issue/docker/for-win/1431/584892042 https://docs.microsoft.com/pt-br/virtualization/hyper-v-on-windows/quick-start/enable-hyper-v
The following steps worked for me: Disabling the VMM in BIOS, save and restart
Assuming your Docker update window is still running, Follow the instruction below:
- Click Start Windows
- Type Hyper-V Manager
- Open Hyper-V Manager
- On the left window pane, select your computer name
- In the right window pane (Actions), click the Stop Service, then click Turn off
- Then Start Service again
- You should see DockerDesktopVM tab
- Under DockerDesktopVM Click the Turn Off
- Go back to your docker update window and click refresh
Your docker update should continue installing
Issues go stale after 90 days of inactivity.
Mark the issue as fresh with /remove-lifecycle stale comment.
Stale issues will be closed after an additional 30 days of inactivity.
Prevent issues from auto-closing with an /lifecycle frozen comment.
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. /lifecycle stale