for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker Engine Fails to Restart when upgrading from 4.1.0 to 4.1.1

Open ManfredLange opened this issue 5 years ago • 7 comments

  • [x] I have tried with the latest version of Docker Desktop
  • [x] I have tried disabling enabled experimental features
  • [x] I have uploaded Diagnostics
  • Diagnostics ID: E03C3250-BFC7-4690-90B1-B0B777945A10/20211017023606

Actual behavior

Docker Engine hangs with message "Docker Engine starting..." but does not complete.

Expected behavior

Docker Engine should just start.

Information

  • Windows Version: Windows 10 Professional

  • Docker Desktop Version: 4.1.1

  • WSL2 or Hyper-V backend? WSL2

  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: no

  • This is reproducible and possibly the same problem as for the upgrades to all prior 4.x versions

Steps to reproduce the behavior

  1. Install Docker 4.1.0 (upgrading from earlier versions may have the same problem)
  2. Run installer for Docker 4.1.1 to upgrade
  3. Start Docker Desktop
  4. Message "Docker Enginer starting..." is shown but it never completes

image

ManfredLange avatar Oct 17 '21 02:10 ManfredLange

The following steps helped in my environment:

  1. Uninstall version 4.1.1 (or whatever version you have)
  2. Install version 4.1.1

In this scenario, be aware that this also removes all images you may have. As a results when you then run docker-compose, all images will need to be pulled again. This will take several minutes depending on the images you need.

It'd be great to get this upgrade issue resolved. If I count correctly this is the third upgrade with this problem. It's a bit of a nuisance.

ManfredLange avatar Oct 17 '21 02:10 ManfredLange

This is likely to be a similar issue as previously report for a prior version. More details at https://github.com/docker/for-win/issues/12226

However, in this case it just hangs. It doesn't crash.

ManfredLange avatar Oct 17 '21 03:10 ManfredLange

I also have the same issue https://github.com/docker/for-win/issues/12279 Or something similear Tried rebooting/ uninstall/ install Nothing helped

OzKron avatar Oct 17 '21 08:10 OzKron

I also have the same issue https://github.com/docker/for-win/issues/12279 Or something similear Tried rebooting/ uninstall/ install Nothing helped

@OzKron The URL appears to be broken ... You probably meant https://github.com/docker/for-win/issues/12279

ManfredLange avatar Oct 17 '21 19:10 ManfredLange

It appears as if the upgrading proccess has had issues since at least version 3.3. Here are some related items:

https://github.com/docker/for-win/issues/11350 https://github.com/docker/for-win/issues/12115 https://github.com/docker/for-win/issues/12226 https://github.com/docker/for-win/issues/12279

I don't have enough facts to comment but it appears as if this is an area what is a particular weekness in the product. Upgrading from one version to another appears to be mostly broken in one form or another. I haven't had a successful one since at least version 3.3.

The following works in my environment to resolve this kind of issues:

  1. Uninstall current Docker Desktop version
  2. Reboot computer (this step is not always required, so you can try without this first)
  3. Install desired Docker Desktop version

ManfredLange avatar Oct 17 '21 19:10 ManfredLange

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

docker-robott avatar Jan 15 '22 01:01 docker-robott

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

docker-robott avatar Mar 16 '22 03:03 docker-robott