Skip to content

Docker Desktop update results in... an uninstallation(?) #14316

Closed

Description

@SpiralBrad

Description

Twice now, I I have tried to update Docker Desktop (from 4.32.0 and I think even 4.33.1) to the more recent 4.34.1 and now 4.34.2, and it results in... no errors, but also no more Docker Dekstop.

The UI alerts me to a newer version, and it allows me to download and update it within the UI. I do that, and... the UI goes away, with nothing further. At that point, I no longer have Docker Desktop installed.

Reproduce

  1. Install Docker Desktop 4.32.0 or 4.33.1
  2. Use the UI to do an in-place update.
  3. Docker Desktop is seemingly uninstalled.

Expected behavior

Docker Desktop should UPDATE (as that is what the user is doing), not uninstall.

An uninstallation should not be part of the process. It should update in-place, and if there are maintenance or cleanup tasks needed from older versions, they should be handled as part of the update; not via a complete uninstallation.

docker version

(can't get anything of use, as docker was uninstalled under my nose; reinstalling would be of no use for this)

docker info

(can't get anything of use, as docker was uninstalled under my nose; reinstalling would be of no use for this)

Diagnostics ID

(can't get anything of use, as docker was uninstalled under my nose; reinstalling would be of no use for this)

Additional Info

No response

Activity

  1. SpiralBrad commented on Sep 13, 2024

    @SpiralBrad
    Author

    This may be related to docker/desktop-feedback#212

  2. SpiralBrad commented on Sep 13, 2024

    @SpiralBrad
    Author

    An an attempted reinstallation with the 4.33.1 installer just gave the following error:

    Component Docker.Installer.EnableFeaturesAction failed: 
       at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()
    
  3. MihaelaStoica commented on Sep 16, 2024

    @MihaelaStoica

    @SpiralBrad I am sorry to hear that you are having troubles upgrading Docker Desktop.
    I don't know if this is possible with the state of the application on your machine, but could you please try create and upload a diagnostic via the command line, as per instructions here?
    If this doesn't work, could you please share the install logs, which should have been preserved. There are 2 sets of install logs:

    • the user instal logs in C:\Users\<USER>\AppData\Local\Docker
    • the admin install logs in C:\ProgramData\DockerDesktop
  4. SpiralBrad commented on Sep 18, 2024

    @SpiralBrad
    Author

    I could do neither thing in the state it was in, but I did manage to reinstall Docker Desktop 4.33.1.

    I am certain that if I were to upgrade to 4.34.2 (current) using the UI at this point, I would return to the state of this issue, where Docker was completely uninstalled (as the same process has caused it twice).

    But with my current installation of 4.33.1, the diagnostic confirmed an upload, and is: DAC528BD-C4E4-4BF2-B504-28FF4B6BAE1C/20240918191054

    I saw it gathering tons of logs from previous dates, so that may have plenty of data for you.

  5. chandrabhan-singh-1 commented on Sep 20, 2024

    @chandrabhan-singh-1

    Download the latest release 4.34.2 . This may solve the problem for you, But, it also giving errors while starting for me these days. Maybe, it will work for you. Just don't use WSL and Docker together, Their compatibility issues are causing most of these problems.

  6. SpiralBrad commented on Sep 21, 2024

    @SpiralBrad
    Author

    Download the latest release 4.34.2 . This may solve the problem for you, But, it also giving errors while starting for me these days. Maybe, it will work for you. Just don't use WSL and Docker together, Their compatibility issues are causing most of these problems.

    I was indeed able to update to 4.34.2 using the installer on its' release notes page. Had I updated using the UI in 4.33.1 I think it would have broken again.

    I'm gonna be rather leary of updating from the UI for a while, heh.

  7. egcmi commented on Mar 10, 2025

    @egcmi

    i just had the same issue with docker desktop 4.38.0 trying to update to 4.39.0. also this happened to me multiple times in the past trying to update from various different versions, however i don't remember which ones exactly. i did just reinstall version 4.38.0 with the installer provided on the docker website (i guess it's not updated to the latest version). i ran the diagnostics tool and this is the result:

    Diagnostics ID: 5B2825E6-5E75-434A-9C36-3AE6667A92C1/20250310170607 (uploaded)

    i will now try updating again and report back

  8. egcmi commented on Mar 10, 2025

    @egcmi

    it worked this time, here is the result of the diagnose tool

    Diagnostics ID: 5B2825E6-5E75-434A-9C36-3AE6667A92C1/20250310171245 (uploaded)

  9. jamiehankins commented on Mar 11, 2025

    @jamiehankins

    I just had this happen with v4.39.0. At the bottom of Docker Desktop, it said to click to update. It went through a process, and when it was finished, there was no more Docker.

    I just downloaded and installed v4.39.0, and it installed and is running.

    I ran the diagnose and upload utility (193B3209-1A91-486E-A851-4526CB4C2779/20250311173624).

  10. gabolaev commented on Apr 28, 2025

    @gabolaev
    Member

    Hi 👋
    Closing this issue because a fix has been released in Docker Desktop 4.41.
    See the release notes for more details.

  11. evconrad commented on Jun 23, 2025

    @evconrad

    Still happening, from 4.41.2 to 4.42.1

  12. khushil commented on Jun 28, 2025

    @khushil

    Confirmed. Having the devil of a time. Going from 4.41.2 to 4.42.1 uninstalls.

  13. evconrad commented on Jun 28, 2025

    @evconrad

    I didn't save it but just loading the exe for 4.42.1 works properly.

  14. HugoE-Ambrey commented on Jul 21, 2025

    @HugoE-Ambrey

    This should be reopened. Same just happened to me

  15. bsousaa commented on Jul 21, 2025

    @bsousaa
    Contributor

    @HugoE-Ambrey @khushil can you please confirm if this issue happens with the latest version? Can you please share a diagnostics ID?

  16. Hispeeday commented on Jan 9, 2026

    @Hispeeday

    Yes, it still happens. I let docker desktop update itself from the former minor release on Windows 11; it killed all docker processes (as expected) and uninstalled itself (still expected). And that was it. It was gone (unexpected).

    Right now I am trying to reinstall it from the docker website again (Windows amd64 installer for 4.55.0 - 213807, but the installer starts copying files (pretty much all of them), and in the end fails 100% reproducibly with:

    Installation failed
    Unpacking failed: WriteEntryTo or OpenEntryStream can only be called once.
    at Docker.Install.InstallWorkflow.d__29.MoveNext()
    ..
    at Docker.Install.InstallWorkflow.d__25.MoveNext()

    No left-over processes by docker or the installer running in task manager.
    I will reboot the OS and try again.

    The solution: There was insufficient diskspace, which was not clearly noticable. Maybe find a better error message.. like "\n\n Maybe there is no disk space left on drive X: yyyy.yy GB of yyyyy.yy GB free\n\n" ?

    -- edit: Rebooting did not help at all. I can't seem to reinstall Docker Desktop. This calls for a long series of dots: .........
    In case anyone's interested, here are the 4 install-log-admin.*.txt files from c:"programdata\docker destop" . The first (install-log-admin.1.txt) is the full "auto-update", the others (install-log-admin.[023].txt) are my tries to reinstall the manually downloaded docker desktop installer myself.

    Original auto-update problem causing this loop:
    """
    [2026-01-09T21:34:58.974500400Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\com.docker.admin.exe" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\com.docker.admin.exe.bsdiff" "C:\Program Files\Docker\Docker\resources\com.docker.admin.exe_"
    [2026-01-09T21:34:59.484774500Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\com.docker.backend.exe" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\com.docker.backend.exe.bsdiff" "C:\Program Files\Docker\Docker\resources\com.docker.backend.exe_"
    [2026-01-09T21:35:05.276153300Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\com.docker.build.exe" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\com.docker.build.exe.bsdiff" "C:\Program Files\Docker\Docker\resources\com.docker.build.exe_"
    [2026-01-09T21:35:08.259430000Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\com.docker.diagnose.exe.bsdiff" "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe_"
    [2026-01-09T21:35:09.699253000Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\com.docker.vmm.exe" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\com.docker.vmm.exe.bsdiff" "C:\Program Files\Docker\Docker\resources\com.docker.vmm.exe_"
    [2026-01-09T21:35:10.112596800Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\componentsVersion.json" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\componentsVersion.json.bsdiff" "C:\Program Files\Docker\Docker\resources\componentsVersion.json_"
    [2026-01-09T21:35:10.159816600Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\Docker desktop.exe" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\Docker desktop.exe.bsdiff" "C:\Program Files\Docker\Docker\resources\Docker desktop.exe_"
    [2026-01-09T21:35:10.492507000Z][InstallWorkflow-PatchStep][I] Running C:\Program Files\Docker\Docker\courgette64.exe -applybsdiff -nologfile "C:\Program Files\Docker\Docker\resources\docker-desktop.iso" "C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw\resources\docker-desktop.iso.bsdiff" "C:\Program Files\Docker\Docker\resources\docker-desktop.iso_"
    [2026-01-09T21:35:22.907443900Z][InstallWorkflow][E] Patching failed Docker.Installer.DeltaUpdateFailedException: Failed to apply delta update ---> System.Exception: File patching failed
    at Docker.Installer.PatchStep.d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Docker.Installer.PatchStep.d__35.MoveNext()
    --- End of inner exception stack trace ---
    at Docker.Installer.PatchStep.d__35.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.InstallWorkflow.d__29.MoveNext()
    [2026-01-09T21:35:22.907443900Z][InstallWorkflow][E] Installation failed Docker.Installer.DeltaUpdateFailedException: Failed to apply delta update ---> System.Exception: File patching failed
    at Docker.Installer.PatchStep.d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Docker.Installer.PatchStep.d__35.MoveNext()
    --- End of inner exception stack trace ---
    at Docker.Installer.PatchStep.d__35.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.InstallWorkflow.d__29.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.InstallWorkflow.d__25.MoveNext()
    [2026-01-09T21:35:22.921878400Z][InstallWorkflow][I] Rollbacking component Docker.Installer.UnpackArtifactsStep
    [2026-01-09T21:35:22.927967300Z][FileSystem][I] Deleting C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw
    [2026-01-09T21:35:23.031078800Z][FileSystem][I] Deleted C:\Users\username.ADDOMAIN\AppData\Local\Temp\DockerDesktop\lccuktfdvuw successfully
    [2026-01-09T21:35:23.031078800Z][InstallWorkflow][I] Rollbacking component Docker.Installer.ExtractManifestStep
    """

    Problem 1 to manually reinstall Docker Desktop from .exe file:
    """
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.UnpackArtifactsStep.<>c__DisplayClass39_1.<b__0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Docker.Installer.FileSystem.d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Docker.Installer.FileSystem.d__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at Docker.Installer.UnpackArtifactsStep.d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.InstallWorkflow.d__29.MoveNext()
    --- End of inner exception stack trace ---
    at Docker.Installer.InstallWorkflow.d__29.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.InstallWorkflow.d__25.MoveNext()
    [2026-01-09T21:46:52.456724000Z][InstallWorkflow][I] Rollbacking component Docker.Installer.ExtractManifestStep
    """

    Problem 2 to manually reinstall Docker Desktop from .exe file:
    """
    [2025-11-26T20:20:02.597855400Z][InstallWorkflow][I] Registering product
    [2025-11-26T20:20:02.600364100Z][RegisterProductStep][I] Creating installation manifest
    [2025-11-26T20:20:02.601373800Z][RegisterProductStep][I] Registering product information
    [2025-11-26T20:20:02.620395100Z][RegisterProductStep][I] Registering docker-desktop url-protocol
    [2025-11-26T20:20:02.626404100Z][InstallWorkflow][I] Saving C:\ProgramData\DockerDesktop\install-settings.json
    [2025-11-26T20:20:02.764184400Z][InstallWorkflow][I] Installation succeeded
    [2025-11-26T20:20:02.770182000Z][Installer][W] Failed to track segment eventInstallFinished: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote name could not be resolved: 'api.segment.io'
    at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
    at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
    --- End of inner exception stack trace ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.Analytics.SegmentApi.d__33.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Docker.Installer.Analytics.SegmentApi.d__32.MoveNext()
    """

    install-log-admin.3.txt
    install-log-admin.0.txt
    install-log-admin.1.txt
    install-log-admin.2.txt

  17. ExploitativeCapital commented on Apr 14, 2026

    @ExploitativeCapital

    Just happened to me on 4.68 to 4.69

    Not sure if this is relevant from an "electron" log file:

    Object [Error] {
    name: 'Error',
    message: 'backend:/install/events (socket hang up)',
    stack: 'Error: backend:/install/events (socket hang up)\n' +
    ' at C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:8:123442\n' +
    ' at C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:74205\n' +
    ' at u.i [as _subscribe] (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:8:186395)\n' +
    ' at u._trySubscribe (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:80040)\n' +
    ' at C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:79984\n' +
    ' at i (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:1275115)\n' +
    ' at u.subscribe (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:79899)\n' +
    ' at C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:376375\n' +
    ' at i._error (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:1670811)\n' +
    ' at i.error (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:659141)',
    cause: Object [Error] {
    name: 'Error',
    message: 'socket hang up',
    stack: 'Error: socket hang up\n' +
    ' at C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:228291\n' +
    ' at h (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:8:231035)\n' +
    ' at d (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:8:230993)\n' +
    ' at i._next (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:1670742)\n' +
    ' at i.next (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:659060)\n' +
    ' at d.t (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:2015544)\n' +
    ' at d.emit (node:events:508:28)\n' +
    ' at v (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:1259535)\n' +
    ' at f (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:1257093)\n' +
    ' at ClientRequest. (C:\Program Files\Docker\Docker\frontend\resources\app.asar\build\entry-cli.main.js:5:1259424)'
    }
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions