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

Docker Installer Stuck on "Verifying Packages"

Open JoshDeSousa opened this issue 2 years ago • 49 comments

Description

Installation keeps freezing as it begins. Even after restarting running as admin.

Reproduce

  1. docker run

Expected behavior

No response

docker version

(base) C:\Users\jdeso\Downloads>-------------------------------------------------------------------------------->8
Version: 4.27.2 (137060)
Sha1:
Started on: 2024/03/08 08:58:33.669
Resources: C:\Users\jdeso\Downloads\resources
OS: Windows 10 Pro
Edition: Professional
Id: 2009
Build: 19045
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\Users\jdeso\AppData\Local\Docker\install-log.txt
CommandLine: "Docker Desktop Installer.exe"  install
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[2024-03-08T08:58:33.840061800Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key
[2024-03-08T08:58:33.848064900Z][Installer][I] No installation found
[2024-03-08T08:58:33.854048300Z][ManifestAndExistingInstallationLoader][I] Not run as admin, relaunching with UAC prompt

docker info

ersion: 4.27.2 (137060)
Sha1:
Started on: 2024/03/08 08:58:47.638
Resources: C:\Users\jdeso\AppData\Local\Temp\DockerDesktop\nkwknbljqve\resources
OS: Windows 10 Pro
Edition: Professional
Id: 2009
Build: 19045
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\ProgramData\DockerDesktop\install-log-admin.txt
CommandLine: "C:\Users\jdeso\AppData\Local\Temp\DockerDesktop\nkwknbljqve\Docker Desktop Installer.exe" "install" -package "res:DockerDesktop" --relaunch-as-admin
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[2024-03-08T08:58:47.799274000Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key
[2024-03-08T08:58:47.805248800Z][Installer][I] No installation found
[2024-03-08T08:58:47.926084500Z][InstallWorkflow][I] Cancel pending background download
[2024-03-08T08:58:47.927057800Z][BackgroundTransfer][I] Cancel current background transfer job
[2024-03-08T08:58:47.934038500Z][InstallWorkflow][I] Using package: res:DockerDesktop
[2024-03-08T08:58:47.935035900Z][InstallWorkflow][I] Downloading
[2024-03-08T08:58:48.959939600Z][InstallWorkflow][I] Extracting manifest

Diagnostics ID

2009

Additional Info

No response

JoshDeSousa avatar Mar 08 '24 09:03 JoshDeSousa

I had the same issue, but managed to get past it by disabling Malwarebytes whilst the installer was running.

scottcharlesworth avatar Mar 09 '24 20:03 scottcharlesworth

I had the same issue, but managed to get past it by disabling Malwarebytes whilst the installer was running.

What do you mean exactly? Can you please elaborate on it. I've been stuck on the same isssue for 2 days now.

moyezr avatar Apr 24 '24 09:04 moyezr

What do you mean exactly? Can you please elaborate on it. I've been stuck on the same isssue for 2 days now.

Malwarebytes is the name of the antivirus software I have installed. Temporarily disabling it allowed me to proceed with the installation.

If you don't use this particular software, I would try disabling any other antivirus you have installed to see if that solves your issue.

scottcharlesworth avatar Apr 29 '24 14:04 scottcharlesworth

Nah in my case it was not due to any Antivirus software.

It was just some recent windows update that was breaking things. I downgraded to the last update and reinstalled the current update for the windows, which fixed everything.

moyezr avatar Sep 16 '24 08:09 moyezr

is that the only fix? I'm new to docker and trying to install it and it freezes no matter what I try. and I don't have any antivirus running when installing.

rktvr avatar Dec 31 '24 17:12 rktvr

Same problem with newest windows update, intel 13th generation cpu (my arm CPU works). The installation stops at "verifying packages" and hangs. I deinstalled everything with docker. Restarted multiple times. My only anti virus is the windows defender.

Jasonthefirst avatar Jan 14 '25 08:01 Jasonthefirst

Same problem for me (Windows 11 pro 24H2) with Docker Desktop 4.37.1 (178610) : the installation (ran as administrator) is stuck on "Verifying package".

bhoupert avatar Jan 14 '25 11:01 bhoupert

I have the same Problem running on Windows 11 10.0.26100 Build 26100 with Intel Core Ultra 7 165U and enabled protection software.

Eventually, the installation proceeded. I just left it running in the background and when I checked after ~30 minutes, I was able to continue. But then the installation got stuck on "Deploying component: Use WSL 2 instead of Hyper-V (recommended)".

I also tried selecting Hyper-V instead of WSL, but then the installation gets stuck on "Deploying component: Enable Hyper-V Windows Features".


edit: I installed Windows 11 Version 24H2 (KB5050009) and also disabled and re-enabled Hyper-V (Control Panel > Programs > Turn Windows features on or off > Untick Hyper-V). Now the installation (using WSL2) worked without problems. But I cant say which of the two changes actually did the trick.

roman-la avatar Jan 16 '25 16:01 roman-la

This seemed to do the trick :

  • Open Windows registry in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop\
  • Downgrading "DisplayVersion" and "Version" values : "4.37.1" to "4.37.0" and "178610" to "178609"

The Docker Desktop installation then succeeded.

bhoupert avatar Jan 17 '25 09:01 bhoupert

Stuck on "Verifying Package" on Windows 11 24H2 10.0.26100.2605 too. No antivirus enabled.

clay53 avatar Jan 18 '25 20:01 clay53

Docker Desktop Stuck on Uninstall (v4.37.1)

System Info:

Windows 11 24H2 26100.2894

Problem Encountered

I encountered issues with Docker Desktop v4.37.1, which was upgraded via winget. The following problems occurred:

  1. Stuck on Starting Docker Engine:
    After the upgrade, Docker Desktop would not start properly and remained stuck on "Starting Docker Engine."

  2. Uninstaller Issue:
    Attempting to uninstall Docker Desktop via winget caused the uninstaller to get permanently stuck. It kept creating and destroying processes and threads repeatedly, as shown in the screenshot below:
    Image

  3. Uninstaller Logs:
    The only logs generated by the uninstaller were:

    D:\ ➜ winget remove Docker.DockerDesktop
    已找到 Docker Desktop [Docker.DockerDesktop]
    正在启动程序包卸载...
    -------------------------------------------------------------------------------->8
    Version: 4.37.1 (178610)
    Sha1:
    Started on: 2025/01/21 09:43:56.627
    Resources: C:\Program Files\Docker\Docker\resources
    OS: Windows 10 Pro
    Edition: Professional
    Id: 2009
    Build: 26100
    BuildLabName: 26100.1.amd64fre.ge_release.240331-1435
    File: C:\Users\ming\AppData\Local\Docker\install-log.txt
    CommandLine: "C:\Program Files\Docker\Docker\Docker Desktop Installer.exe" "uninstall"
    You can send feedback, including this log file, at https://github.com/docker/for-win/issues
    [2025-01-21T09:43:56.841063400Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key
    
  4. Installer Rollback Failure:
    Attempted to roll back to Docker Desktop v4.36.0 by downloading the installer but encountered the same issue during installation. The installer got stuck on "Verifying packages" and exhibited the same behavior of creating and destroying subprocesses.

Personal Workaround

  1. Unregister Docker-Related WSL Distributions:
   wsl --unregister docker-desktop
   wsl --unregister docker-desktop-data
  1. Stop Docker Services:

    Stop-Service docker
    Set-Service docker -StartupType Disabled
    
  2. Manually Delete Docker Installation Files:

    Remove-Item -Recurse -Force "C:\Program Files\Docker"
    Remove-Item -Recurse -Force "C:\ProgramData\Docker"
    Remove-Item -Recurse -Force "$env:LOCALAPPDATA\Docker"
    Remove-Item -Recurse -Force "$env:APPDATA\Docker"
    Remove-Item -Recurse -Force "$env:USERPROFILE\.docker"
    

    (Note: It doesn’t matter if some of these directories do not exist.)

  3. Delete Registry Keys:

    • Navigate to the following paths in the registry and delete all entries related to Docker:
      HKEY_LOCAL_MACHINE\SOFTWARE\Docker Inc.
      HKEY_CURRENT_USER\Software\Docker Inc.
      
  4. Remove Docker Desktop via appwiz.cpl:

    • Launch appwiz.cpl (Add or Remove Programs) and attempt to uninstall Docker Desktop. This allows Windows to clear remaining registry keys automatically.
  5. Reboot the System

  6. Install Docker Desktop v4.36.0

Note: I applied all the steps in my workaround without performing an ablation study so I am not certain which specific step resolved the issue.

SaturnTsen avatar Jan 21 '25 10:01 SaturnTsen

Same problem for me (completely new laptop: 32GB, 2TB SSD, Windows 11 pro 24H2 Windows Build 26100.3194) with Docker Desktop 4.38.0 (181591) : the installation (Run as Administrator) is stuck on "Verifying package" ("Extracting Manifest...")ץ UPDATE: I tried installing Docker-Desktop v4.38.0 using Chocolatey in PowerShell using the command: choco install docker-desktop --force, it took A LONG time to finish with an error and in the log the error is that the installer file is BAD.

beni-regev avatar Feb 19 '25 23:02 beni-regev

Wh

This seemed to do the trick :

  • Open Windows registry in Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Docker Desktop\
  • Downgrading "DisplayVersion" and "Version" values : "4.37.1" to "4.37.0" and "178610" to "178609"

The Docker Desktop installation then succeeded.

the Docker Desktop its not installed yet. Thats the main problem. So this does not work. Thanks

tomasojea avatar Feb 27 '25 16:02 tomasojea

I had this on a brand new AMD Ryzen 7 8745HS with W11 24H2 (26100.3194). Tried three different versions (35.1, 38, 39, with and without "Run as admin") and they were all stuck at "Verifying package" or "Extracting manifest". What eventually worked was: closing all apps including WSL terminals, then restarting the PC, then NOT logging into my MS account when prompted, then launching the installer as admin. Then 4.38.0 went through.

ghost avatar Mar 13 '25 10:03 ghost

What worked for me, was installing wsl and then restarting my pc. Well the restart was taking forever, so I decided to just turn it off with the off button. First thing I did after logging in was install Docker and it worked.

tieje avatar Mar 19 '25 01:03 tieje

Technically it is not stuck, it is just taking longer than expected, waaaaaaaaay longer that is...

I went to work and left it hang for a day, returned home to find it had passed the verifying stage. But it hung again while installing, and ultimately failed trying to enable Windows feature.

smdsbz avatar Mar 25 '25 12:03 smdsbz

On my destop, it didn't recognize the issue or error about WSL or Hyper-V.

I restart desktop, go into BIOS checked without making any changes, then continued to boot the computer, run PowerShell as administrator and run wsl --install, then did a normal install by running Docker Desktop Installer.exe and it installed successfully

QQhere avatar Apr 04 '25 03:04 QQhere

I just encountered the above issue and nothing happens for a long time

Image

colcherica avatar Apr 04 '25 12:04 colcherica

On my destop, it didn't recognize the issue or error about WSL or Hyper-V.

I restart desktop, go into BIOS checked without making any changes, then continued to boot the computer, run PowerShell as administrator and run wsl --install, then did a normal install by running Docker Desktop Installer.exe and it installed successfully

installing wsl worked for me also.

wapebira avatar Apr 04 '25 15:04 wapebira

I just encountered the above issue and nothing happens for a long time

Image

when you run wsl --install, how did it respond?

QQhere avatar Apr 04 '25 16:04 QQhere