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

Installing version 3.3.3 leads to crash on start

Open ManfredLange opened this issue 5 years ago • 10 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: BD5A15A8-2B44-443D-91BC-C2B67188BF92/20210531200910

Actual behavior

I had version 3.2.2 of Docker Desktop for Windows installed. It prompted me in the last few days to upgrade to version 3.3.3. I accepted the upgrade several times but it never went ahead for no apparent reason.

I then downloaded the installer for version 3.3.3 manually and started it manually as well. It went as usual except that at the end Docker Desktop for Windows reported an error "Docker Desktop WSL distro stopped" with the additional info of "WSL distro stopped while waiting for Lifecycle server." Apparently it cannot find the file docker-wsl-cli.iso on the mount from C-drive.

I have attached the entire error output as a text file to this issue in case this is not included in the diagnostics. I've been using WSL2 for quite some time and it ran very stable until this issue. I suspect this to be either a one-off (to be determined) or a rather small thing that causes it.

Expected behavior

An upgrade with default settings should not lead to an error.

Information

  • Windows Version: Microsoft Windows 10 Pro, version 10.0.19042 Build 19042.
  • Docker Desktop Version: 3.3.3
  • WSL2 or Hyper-V backend? WSL2
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: no
  • Is it reproducible? I don't know yet, I'll amend this report if there are further observations that may be relevant
  • Is the problem new? yes, never seen before
  • Did the problem appear with an update? yes, when upgrading to 3.3.3

Steps to reproduce the behavior

  1. Uninstall prior Docker Desktop for Windows version
  2. Install version 3.3.3 of Docker Desktop for Windows
  3. Same error occurs.

ManfredLange avatar May 31 '21 20:05 ManfredLange

Further to this: When I run the command

wsl -l --verbose

only docker-desktop-data is shown after the upgrade to 3.3.3.

From memory I believe there were two Docker related entries, one for the data and one for the engine.

After uninstalling then re-installing Docker Desktop 3.3.3 the same error is reported. However, this time the command

wsl -l --verbose

now reports both docker-desktop-data and docker-desktop as with prior WSL2-backed installations. However, both of these are shown in stated Stopped.

Docker Desktop for Windows Version 3.3.3 looks like a botched version to me, considering all the other error reports for that version.

ManfredLange avatar May 31 '21 20:05 ManfredLange

I've uploaded another crash report for this issue with diagnostic id BD5A15A8-2B44-443D-91BC-C2B67188BF92/20210531204715

ManfredLange avatar May 31 '21 20:05 ManfredLange

In a further attempt to resolve this issue, the following steps helped in my case:

  1. Uninstall Docker Desktop for Windows
  2. Reboot Windows
  3. Install Docker Desktop for Windows version 3.3.3

It appears as if something in the upgrade process is not quite right as the reboot seems to have made a difference. Without the reboot Docker crashed because it could find the file docker-wsl-cli.iso even though it is reported as being extraced from the installer package during the installation process.

I'll leave this issue open in case others experience the same problem.

ManfredLange avatar May 31 '21 21:05 ManfredLange

A friend of mine was suddenly having issues with his Docker Desktop, the actual Docker Engine would never start up (versions 3.2.2 and 2.5.0.1), if on the latest version (3.3.3), Docker Desktop would straight up crash. Even after completely removing Hyper-V and WSL2 and then trying with a clean install of one or the other nothing budged.

Eventually we tracked down to a Windows Update (KB5003254), after uninstalling it and restarting the computer, everything went back to normal and the Docker Engine would start up just fine and containers would spin up. If anyone bumps into this thread while trying to figure out what is going on, maybe this can help you.

Seenko avatar May 31 '21 22:05 Seenko

@Seenko Looks as if KB5003254 is not installed in my environment, so that seem to confirm in my environment what you are observing in your environment.

Good to know to keep an eye on when that Windows update comes through. Thank you!

ManfredLange avatar May 31 '21 22:05 ManfredLange

Putting in a note that Docker 3.3.3 does not initialize and run for my Windows machine (Win 10 Pro 19043.1023), and I did not have KB5003254 installed. Had to downgrade to 3.2.2, but the auto-update will push Docker to install 3.3.3 on restart...but thankfully that can be avoided by saying "No" to the UAC prompt ;-)

daffodilistic avatar Jun 01 '21 10:06 daffodilistic

Check #11300

kingsumos avatar Jun 01 '21 13:06 kingsumos

I too have had 3.3.3 REPEATEDLY prompt to install and then never do anything when I click the install and upgrade button. This happens on my personal Win10 machine and work Mac x64 machine.

ccicchitelli avatar Jun 01 '21 17:06 ccicchitelli

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 Aug 30 '21 01:08 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 Oct 29 '21 03:10 docker-robott