docker / for-win

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

Docker Desktop 4.19.0 Installation failed on windows 10 #13498

Open Sun-datascience opened 1 year ago

Sun-datascience commented 1 year ago

Actual behavior

When I tried to install Docker Desktop 4.19.0 on Windows 10 laptop using Docker Desktop Installer.exe, installation failed for unpacking failed: Data Error reason.

Expected behavior

Installation complete

Information

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

Steps to reproduce the behavior

  1. ...
  2. ...
shivajee98 commented 1 year ago

Based on the information provided, it appears that you are experiencing an issue with the installation of Docker Desktop 4.19.0 on Windows 10. The installation fails with an error message stating "unpacking failed: Data Error." Here are some steps you can take to troubleshoot and resolve the issue:

  1. Verify system requirements: Make sure your Windows 10 version meets the minimum requirements for Docker Desktop 4.19.0. Check Docker's official documentation for the supported Windows versions.

  2. Clean previous installations: If you have any previous versions of Docker Desktop installed, try uninstalling them completely before attempting the installation again. Use the "Add or Remove Programs" feature in the Control Panel to uninstall Docker Desktop.

  3. Disable antivirus or security software: Temporarily disable any antivirus or security software on your Windows 10 laptop. Sometimes, these programs can interfere with the installation process.

  4. Download Docker Desktop again: It's possible that the downloaded Docker Desktop Installer.exe file is corrupted. Delete the existing file and download it again from the official Docker website to ensure you have a valid installer.

  5. Run the installer as administrator: Right-click on the Docker Desktop Installer.exe file and select "Run as administrator." This ensures that the installation process has the necessary permissions to make changes to your system.

  6. Check disk space and permissions: Ensure that you have enough free disk space on your Windows 10 laptop for Docker Desktop installation. Additionally, make sure you have the required permissions to write to the installation directory.

  7. Try alternative installation methods: If the issue persists, you can try alternative installation methods. For example, you can use the Chocolatey package manager to install Docker Desktop on Windows. Refer to Docker's documentation for more information on alternative installation methods.

  8. Seek further assistance: If none of the above steps resolve the issue, consider reaching out to the Docker support community. You can post your issue on the Docker Forums or GitHub repository, providing the diagnostics ID mentioned in your initial comment. The Docker community can provide more specific guidance based on your diagnostics information.

Remember to provide detailed information and error messages when seeking assistance, as it helps others understand the problem and provide more accurate solutions.

ctalledo commented 1 year ago

Hi @Sun-datascience,

installation failed for unpacking failed: Data Error reason.

That looks like a possible corruption of the Docker Desktop (DD) installer during download.

Try downloading DD again to see if the problem reproduces. If it reproduces consistently please let us know.