docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.86k stars 290 forks source link

Docker Desktop disappeared after latest update #14299

Open naourass opened 2 months ago

naourass commented 2 months ago

Description

I just updated Docker to the latest version (Windows 11 - WSL2) by following the update notification in the ui. Now Docker Desktop has completely disappeared from the windows app list/search. When I try to open \Program Files\Docker\Docker\Docker Desktop.exe or \Program Files\Docker\Docker\resources\Docker Desktop.exe nothing happens. And when I open Docker Desktop Installer.exe in the same former directory, I get this error:

Installation failed: empty package at Docker.Installer.InstallWorkflow.d__23.MoveNext()

I had Docker working and updating fine for more than one year before this update and I have important data (local containers) that I don't want to lose.

Is there some known solution to fix this and get Docker back without losing the containers and their data? Thanks.

Reproduce

  1. Click on the update notification in docker desktop and confirm the update
  2. Wait for the installation to finish
  3. Installation screen just disappear without any success or error message
  4. Docker app is not available anymore and not even present in Settings -> Apps -> Installed apps

docker version

The command 'docker version' is not working anymore. I have a very basic and default installation that uses WSL2 without any custom parameter or configuration.

docker info

The command 'docker info' is not working as well.

Diagnostics ID

Can't open the app and can't run docker command line.

Update: The diagnosis ID is 52959DD5-92E6-438A-ADE7-5EFB1FDD4149/20240906123144

Additional Info

My docker usage is very basic. I either use docker run, docker-compose up, or use the ui to start/stop containers. I let all the parameters in their default state.

MihaelaStoica commented 2 months ago

@naourass, I am sorry to hear you experienced this issue with the update. Could you please create and upload a diagnostic via the command line, as per instructions here?

naourass commented 2 months ago

@MihaelaStoica Yes sure, here's the output of the command: Diagnostics ID: 52959DD5-92E6-438A-ADE7-5EFB1FDD4149/20240906123144 (uploaded)

naourass commented 2 months ago

I'm wondering if I download a fresh docker desktop installation executable and run it, would this delete or mess with the existing containers or their data? Otherwise, is there any known workaround to fix this without losing containers/data ?

Update: Fixed by downloading the installer and running it again. Didn't lose any data.

connormathenyroots commented 2 months ago

just updated and having the same issue

chelnak commented 1 month ago

@connormathenyroots Would you be able to create an upload a diagnostic bundle please?

MihaelaStoica commented 1 month ago

@naourass, I am happy to hear you restored your Docker Desktop. Yes, downloading the full installer and running it over the broken Docker Desktop instance will preserve your data, as long as you didn't perform an uninstall or a reset to factory defaults on the previous installation.

SmashingQuasar commented 1 month ago

I can confirm installing the latest update results in Docker Desktop being uninstalled instead.

andrei1058 commented 3 weeks ago

Same Issue here, today I got to work and found out Docker was gone from my Windows11 workstation (WSL). I assume our patch management system provided by Bitdefender Gravityzone tried installing Docker 4.34.3 since this is the latest version.

devhl-labs commented 3 weeks ago

Juste happened to me. I even had auto updates disabled in the Docker Desktop settings to prevent it from updating while I'm working.

chelnak commented 3 weeks ago

Juste happened to me. I even had auto updates disabled in the Docker Desktop settings to prevent it from updating while I'm working.

Sorry to hear that you have experienced this!

Are you in a position to send us a diagnostic bundle? Or at minimum the installer logs from C:\ProgramData\DockerDesktop?

devhl-labs commented 3 weeks ago

Here is everything modified today.

install-log-admin.5.txt install-cli-log-admin.8.txt install-log-admin.4.txt install-cli-log-admin.7.txt install-log-admin.txt install-cli-log-admin.txt

andretheronsa commented 1 week ago

Just reporting: Updated docker yesterday from within the app and it broke - kept on complaining about the docker engine not starting up. I uninstalled, (losing all my work databases etc), downloaded the new docker, installed. It worked fine but on restart the GUI never showed up (I did change it to always startup but start minimized) but it wasn't minimized. It was running in task manager and wsl had docker and it worked, but the GUI app was just gone (not on different screens, just gone). Doing another clean install now. WSL2 Ubuntu 24.04 -> Windows 11 latest stable.

koljahuang commented 13 hours ago

same problem on mac os