Skip to content

Docker Desktop uninstalled when updating VSCode #300248

@Jafrazar

Description

@Jafrazar

I clicked on the gear "Restart to Update" in the left corner and it triggered a command to uninstall Docker Desktop on my laptop. I had it running the container while the updating was done. The delete is documented in 3 log files in my .docker folder:
-------------------------------------------------------------------------------->8
Version: 4.60.1 (218372)
Sha1:
Started on: 2026/03/09 19:44:33.207
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2009
Build: 26200
BuildLabName: 26100.1.amd64fre.ge_release.240331-1435
File: C:\ProgramData\DockerDesktop\install-cli-log-admin.txt
CommandLine: "C:\Program Files\Docker\Docker\InstallerCli.exe" -k -u
You can send feedback, including this log file, at https://dockr.ly/desktop-feedback
[2026-03-09T19:44:33.298024700Z][Installer][I] Killing processes...
[2026-03-09T19:44:33.317138700Z][Installer][I] Killing existing com.docker.backend process with PID 19684
[2026-03-09T19:44:33.337861500Z][Installer][I] Killing existing com.docker.backend process with PID 14088
[2026-03-09T19:44:33.425389900Z][Installer][I] Killing existing com.docker.build process with PID 23392
[2026-03-09T19:44:33.455226600Z][Installer][I] Killing existing Docker Desktop process with PID 28388
[2026-03-09T19:44:33.490503000Z][Installer][I] Killing existing Docker Desktop process with PID 27952
[2026-03-09T19:44:33.576782000Z][Installer][I] Process Docker Desktop with PID 28352 has exited already
[2026-03-09T19:44:33.714464600Z][Installer][I] Killing existing docker-sandbox process with PID 24232
[2026-03-09T19:44:33.735471100Z][Installer][I] Removing Windows daemon service
[2026-03-09T19:44:35.838101600Z][Cmd][I] The specified service does not exist as an installed service.
[2026-03-09T19:44:35.845812500Z][Installer][I] Uninstalling...
[2026-03-09T19:44:35.847824700Z][Installer][I] Uninstall user Docker CLI plugins
[2026-03-09T19:44:35.856779600Z][Installer][I] Removing Windows Containers components
[2026-03-09T19:44:35.872046000Z][Installer][I] Removing Hyper-V components
[2026-03-09T19:44:35.873513300Z][HyperVManager][I] Destroy
[2026-03-09T19:44:35.901978300Z][HyperVInfrastructure][I] Try to remove VM DockerDesktopVM
[2026-03-09T19:44:36.803012100Z][HyperVInfrastructure][I] Successfully remove VM DockerDesktopVM
[2026-03-09T19:44:36.803012100Z][HyperVGuids][I] Removing GUIDs...
[2026-03-09T19:44:36.805027100Z][HyperVGuids][I] GUIDs removed
[2026-03-09T19:44:36.965301100Z][Installer][W] Could not unregister distro docker-desktop: System.Exception: Running WSL as local system is not supported.
Error code: Wsl/WSL_E_LOCAL_SYSTEM_NOT_SUPPORTED

at Docker.InstallerCli.Program.TryToUnregisterWslDistro(String name) in C:\workspaces\PR-39032\src\github.com\docker\pinata\win\src\Docker.InstallerCli\Program.cs:line 692
[2026-03-09T19:44:37.084649300Z][Installer][W] Could not unregister distro docker-desktop-data: System.Exception: Running WSL as local system is not supported.
Error code: Wsl/WSL_E_LOCAL_SYSTEM_NOT_SUPPORTED

at Docker.InstallerCli.Program.TryToUnregisterWslDistro(String name) in C:\workspaces\PR-39032\src\github.com\docker\pinata\win\src\Docker.InstallerCli\Program.cs:line 692
[2026-03-09T19:44:37.093713800Z][Installer][W] Could not unmount disk\docker_data.vhdx: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Windows\system32\config\systemprofile\AppData\Local\Docker\wsl'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.SetCurrentDirectory(String path)
at Docker.InstallerCli.Program.TryToUnmountDataDisk(String dataDir) in C:\workspaces\PR-39032\src\github.com\docker\pinata\win\src\Docker.InstallerCli\Program.cs:line 720
[2026-03-09T19:44:37.252546600Z][Installer][I] Deleting stored credentials
[2026-03-09T19:44:37.394254500Z][Installer][I] Cleaning up application files and folders
[2026-03-09T19:44:37.396270600Z][Installer][I] File C:\Windows\system32\config\systemprofile\AppData\Roaming\Docker\settings-store.json does not exist
[2026-03-09T19:44:37.396270600Z][Installer][I] File C:\Windows\system32\config\systemprofile\AppData\Roaming\Docker\settings.json does not exist
[2026-03-09T19:44:37.398290300Z][Installer][I] File C:\Windows\system32\config\systemprofile.docker\daemon.json does not exist
[2026-03-09T19:44:37.398290300Z][Installer][I] File C:\Windows\system32\config\systemprofile.docker\windows-daemon.json does not exist
[2026-03-09T19:44:37.398290300Z][Installer][I] File C:\Windows\system32\config\systemprofile\AppData\Roaming\Docker\last-start-linux-daemon.json does not exist
[2026-03-09T19:44:37.400309600Z][Installer][I] File C:\Windows\system32\config\systemprofile\AppData\Roaming\Docker\last-start-windows-daemon.json does not exist
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-cli-log-admin.18.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-cli-log-admin.19.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-cli-log-admin.20.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-cli-log-admin.21.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-cli-log-admin.22.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-cli-log-admin.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-log-admin.10.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-log-admin.11.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-log-admin.12.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-log-admin.13.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-log-admin.9.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Keeping file install-log-admin.txt
[2026-03-09T19:44:37.404357800Z][Installer][I] Deleting file install-settings.json
[2026-03-09T19:44:37.408390800Z][Installer][I] Deleting directory C:\Program Files\Docker\cli-plugins
[2026-03-09T19:44:37.439058500Z][Installer][I] Directory C:\ProgramData\DockerDesktop\vm-data does not exist
[2026-03-09T19:44:37.439427900Z][Installer][I] Directory C:\Windows\system32\config\systemprofile\AppData\Roaming\Docker\extensions does not exist
[2026-03-09T19:44:37.440481500Z][Installer][I] File C:\Windows\system32\config\systemprofile.docker\config.json does not exist
[2026-03-09T19:44:37.440481500Z][Installer][I] File C:\Windows\system32\config\systemprofile\AppData\Local\Docker\wsl\disk\docker_data.vhdx does not exist
[2026-03-09T19:44:37.440481500Z][Installer][I] Directory C:\Windows\system32\config\systemprofile\AppData\Local\Docker\wsl does not exist
[2026-03-09T19:44:37.450201900Z][Installer][I] Uninstall completed successfully
-------------------------------------------------------------------------------->8
Version: 4.60.1 (218372)
Sha1:
Started on: 2026/03/09 19:44:31.031
Resources: C:\Windows\SystemTemp\DockerDesktop\410iezbgwx3\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2009
Build: 26200
BuildLabName: 26100.1.amd64fre.ge_release.240331-1435
File: C:\ProgramData\DockerDesktop\install-log-admin.txt
CommandLine: "C:\Windows\SystemTemp\DockerDesktop\410iezbgwx3\Docker Desktop Installer.exe" "uninstall" --quiet --remove-self
You can send feedback, including this log file, at https://dockr.ly/desktop-feedback
[2026-03-09T19:44:31.095849700Z][Installer][I] Existing installation found: build=218372, version=4.60.1, basePath=C:\Program Files\Docker\Docker
[2026-03-09T19:44:31.095849700Z][ManifestLoader][I] No install path specified, looking for default installation registry key
[2026-03-09T19:44:31.752002800Z][ProcessEnvironmentDetector][I] Launching from base path: False
[2026-03-09T19:44:31.865835600Z][UninstallWorkflow][I] Running before uninstall actions
[2026-03-09T19:44:31.868307900Z][UninstallWorkflow][I] Proceeding with Docker.Installer.ExecAction
[2026-03-09T19:44:31.870312100Z][UninstallWorkflow-ExecAction][I] Running: C:\Program Files\Docker\Docker\InstallerCli.exe -k -u with timeout=60000
[2026-03-09T19:44:37.501848200Z][UninstallWorkflow][I] Done with Docker.Installer.ExecAction
[2026-03-09T19:44:37.502806600Z][UninstallWorkflow][I] Proceeding with Docker.Installer.KillLockingProcessesAction
[2026-03-09T19:44:43.549405800Z][FileSystem][I] Shell move C:\Program Files\Docker\Docker\resources -> C:\Program Files\Docker\Docker\resources.6c41edb13a58438b9e080679b93f3485 failed, trying with IFileOperation: System.IO.IOException: SHFileOperation failed with code 32
at Docker.Installer.FileSystem.MoveWithShell(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
[2026-03-09T19:44:44.605142900Z][FileSystem][I] Shell move C:\Program Files\Docker\Docker\resources.6c41edb13a58438b9e080679b93f3485 -> C:\Program Files\Docker\Docker\resources failed, trying with IFileOperation: System.IO.IOException: SHFileOperation failed with code 2
at Docker.Installer.FileSystem.MoveWithShell(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
[2026-03-09T19:44:44.738740900Z][FileSystem][I] Shell move C:\Program Files\Docker\Docker\resources.6c41edb13a58438b9e080679b93f3485 -> C:\Program Files\Docker\Docker\resources failed, trying with IFileOperation: System.IO.IOException: SHFileOperation failed with code 2
at Docker.Installer.FileSystem.MoveWithShell(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
[2026-03-09T19:44:44.862872200Z][FileSystem][I] Shell move C:\Program Files\Docker\Docker\resources.6c41edb13a58438b9e080679b93f3485 -> C:\Program Files\Docker\Docker\resources failed, trying with IFileOperation: System.IO.IOException: SHFileOperation failed with code 2
at Docker.Installer.FileSystem.MoveWithShell(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
[2026-03-09T19:44:44.978126800Z][FileSystem][I] Shell move C:\Program Files\Docker\Docker\resources.6c41edb13a58438b9e080679b93f3485 -> C:\Program Files\Docker\Docker\resources failed, trying with IFileOperation: System.IO.IOException: SHFileOperation failed with code 2
at Docker.Installer.FileSystem.MoveWithShell(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
[2026-03-09T19:44:45.097906700Z][FileSystem][I] Shell move C:\Program Files\Docker\Docker\resources.6c41edb13a58438b9e080679b93f3485 -> C:\Program Files\Docker\Docker\resources failed, trying with IFileOperation: System.IO.IOException: SHFileOperation failed with code 2
at Docker.Installer.FileSystem.MoveWithShell(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
[2026-03-09T19:44:45.104533500Z][FileSystem][E] Folder C:\Program Files\Docker\Docker content not movable: System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at Docker.Installer.FileSystem.SHCreateItemFromParsingName(String path, IntPtr pbc, Guid riid, Object& item)
at Docker.Installer.FileSystem.MoveWithIFileOperation(String source, String destination)
at Docker.Installer.FileSystem.<>c__DisplayClass7_0.b__0()
--- 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.FileSystem.d__6.MoveNext()
[2026-03-09T19:44:46.021176500Z][UninstallWorkflow][I] Done with Docker.Installer.KillLockingProcessesAction
[2026-03-09T19:44:46.021706600Z][UninstallWorkflow][I] Proceeding with installed components
[2026-03-09T19:44:46.022240600Z][UninstallWorkflow][I] Proceeding with Docker.Installer.ExecAction
[2026-03-09T19:44:46.022770600Z][UninstallWorkflow][I] Proceeding with Docker.Installer.PathAction
[2026-03-09T19:44:46.036331300Z][UninstallWorkflow][I] Proceeding with Docker.Installer.AutoStartAction
[2026-03-09T19:44:46.038045700Z][UninstallWorkflow][I] Proceeding with Docker.Installer.ShortcutAction
[2026-03-09T19:44:46.039645300Z][UninstallWorkflow][I] Proceeding with Docker.Installer.ShortcutAction
[2026-03-09T19:44:46.041255000Z][UninstallWorkflow][I] Proceeding with Docker.Installer.ServiceAction
[2026-03-09T19:44:46.054337900Z][UninstallWorkflow][I] Proceeding with Docker.Installer.EnableFeaturesAction
[2026-03-09T19:44:46.054337900Z][UninstallWorkflow][I] Proceeding with Docker.Installer.EnableFeaturesAction
[2026-03-09T19:44:46.054337900Z][UninstallWorkflow][I] Proceeding with Docker.Installer.EnableFeaturesAction
[2026-03-09T19:44:46.054337900Z][UninstallWorkflow][I] Proceeding with Docker.Installer.AddToGroupAction
[2026-03-09T19:44:46.054337900Z][UninstallWorkflow][I] Proceeding with Docker.Installer.CreateGroupAction
[2026-03-09T19:44:46.054337900Z][UninstallWorkflow][I] Unregistering product
[2026-03-09T19:44:46.080839400Z][FileSystem][I] Deleting C:\Program Files\Docker\Docker
[2026-03-09T19:44:46.225191900Z][FileSystem][I] Unable to delete file C:\Program Files\Docker\Docker\resources\bin\docker.exe, moving it to C:\Program Files\Docker\Docker\tmp-delete\docker.exe.60c323c1f8dc48bcb3f26cb59f2ed6a3: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Docker\Docker\resources\bin\docker.exe' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at Docker.Installer.FileSystem.d__4.MoveNext()
[2026-03-09T19:44:46.651562900Z][FileSystem][I] Scheduled C:\Program Files\Docker\Docker\tmp-delete\docker.exe.60c323c1f8dc48bcb3f26cb59f2ed6a3 for deletion on reboot
[2026-03-09T19:44:46.654158500Z][FileSystem][I] Scheduled C:\Program Files\Docker\Docker\tmp-delete for deletion on reboot
[2026-03-09T19:44:46.657158200Z][FileSystem][I] Postponing folder C:\Program Files\Docker\Docker deletion: System.IO.IOException: The directory is not empty.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
at Docker.Installer.FileSystem.d__4.MoveNext()
[2026-03-09T19:44:46.659157800Z][FileSystem][I] Scheduled C:\Program Files\Docker\Docker for deletion on reboot
[2026-03-09T19:44:46.659157800Z][FileSystem][I] Deleted C:\Program Files\Docker\Docker successfully
[2026-03-09T19:44:46.663453200Z][UninstallWorkflow][I] Uninstalled finished
-------------------------------------------------------------------------------->8
Version: 4.60.1 (218372)
Sha1:
Started on: 2026/03/09 19:44:29.514
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2009
Build: 26200
BuildLabName: 26100.1.amd64fre.ge_release.240331-1435
File: C:\ProgramData\DockerDesktop\install-log-admin.txt
CommandLine: "C:\Program Files\Docker\Docker\Docker Desktop Installer.exe" "uninstall" uninstall --quiet --norestart
You can send feedback, including this log file, at https://dockr.ly/desktop-feedback
[2026-03-09T19:44:29.594632800Z][Installer][I] Existing installation found: build=218372, version=4.60.1, basePath=C:\Program Files\Docker\Docker
[2026-03-09T19:44:29.598516400Z][ManifestLoader][I] No install path specified, looking for default installation registry key
[2026-03-09T19:44:30.669923200Z][ProcessEnvironmentDetector][I] Launching from base path: True
[2026-03-09T19:44:30.669923200Z][ProcessEnvironmentDetector][I] Relaunching from temp folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions