Can't Install Docker Desktop on Windows 11? 7 Ways to Fix It


cant install docker desktop
Image credit: Docker

If you can’t install Docker Desktop on Windows 11 or Windows 10, the problem usually involves disabled virtualization, missing WSL 2 components, outdated Windows versions, or installation conflicts. Follow these fixes to get Docker Desktop installed and running.

What can I do if I can’t install Docker Desktop on Windows 11?

1. Enable virtualization in BIOS

Docker Desktop needs hardware virtualization to run Linux containers through WSL 2.

  1. Press Ctrl + Shift + Esc to open Task Manager.
  2. Select Performance > CPU.
  3. Check whether Virtualization shows Enabled.
  4. If it shows Disabled, restart your computer and enter BIOS/UEFI using the appropriate key, usually F2, Delete, or Esc.
  5. Find Intel Virtualization Technology (VT-x) or AMD SVM Mode under the CPU or Advanced settings.
  6. Enable the feature, save your changes, and restart Windows.

Try installing Docker Desktop again.

2. Install or update WSL 2

Docker Desktop relies on Windows Subsystem for Linux (WSL 2) for its default Linux container backend.

  1. Right-click Start and select Terminal (Admin).
  2. Check your installed WSL version using wsl --version
  3. If WSL is missing, install it without an additional Linux distribution using wsl --install --no-distribution
  4. Update WSL to the latest available version using wsl --update
  5. Set WSL 2 as the default version using wsl --set-default-version 2
  6. Restart your computer and try installing Docker Desktop.

3. Enable the required Windows features

Missing virtualization components can prevent Docker Desktop from installing or starting.

  1. Press Windows + R, type optionalfeatures, and press Enter.
  2. Locate and enable Virtual Machine Platform.
  3. Enable Windows Subsystem for Linux.
  4. Click OK and allow Windows to install the components.
  5. Restart your computer.

If you plan to use the Hyper-V backend, enable Hyper-V as well. This option requires a supported Windows edition and an all-users Docker Desktop installation.

4. Check Docker Desktop system requirements

An unsupported Windows version or insufficient hardware resources can block installation.

  1. Press Windows + R, type winver, and press Enter.
  2. Check that you’re running a supported 64-bit version of Windows.
  3. Verify that your computer has at least 8GB of RAM.
  4. Confirm that your processor supports hardware virtualization and Second Level Address Translation (SLAT).
  5. Install pending Windows updates through Settings > Windows Update.

Windows Home can run Linux containers through WSL 2, but it doesn’t support Docker Desktop’s Windows container mode.

5. Enable the Windows hypervisor

If Docker Desktop reports that virtualization isn’t supported or that a required Hyper-V component is missing, Windows might not be launching its hypervisor.

  1. Open Command Prompt as administrator.
    run as administrator cmd
  2. Enable automatic hypervisor startup using bcdedit /set hypervisorlaunchtype auto
  3. Restart your computer.
  4. Run the Docker Desktop installer again.

This fix can also address WSL errors involving HCS_E_HYPERV_NOT_INSTALLED, provided your hardware supports virtualization and you’ve enabled the required Windows components.

6. Reinstall Docker Desktop using the correct installation mode

An incomplete installer download or an unsuitable installation mode can prevent setup from finishing.

  1. Download the latest installer from the official Docker Desktop website.
  2. Open the downloaded Docker Desktop Installer.exe file.
  3. Select Per-user installation for a standard WSL 2 setup without installation-level administrator privileges.
  4. Alternatively, select All-users installation if you need Hyper-V or Windows containers, and approve the administrator prompt.
  5. Select WSL 2 as the backend if you’re installing Docker Desktop for Linux containers.
  6. Complete the installation and launch Docker Desktop.

If Windows lacks the required WSL components, an administrator must enable them even when you use per-user installation.

7. Remove a failed Docker Desktop installation

If an earlier installation failed, its remaining components might interfere with a new installation.

  1. Close Docker Desktop and any running Docker-related processes.
  2. Open Settings > Apps > Installed apps.
    installed apps settings app windows 11
  3. Locate Docker Desktop and select Uninstall.
  4. Follow the removal instructions and restart Windows.
  5. Download a fresh installer from Docker’s official website.
  6. Install Docker Desktop again.

Important: Uninstalling Docker Desktop can remove local containers, images, volumes, and other Docker data. Back up anything important before proceeding.

If you can’t install Docker Desktop, start by enabling virtualization, updating WSL 2, and checking Windows compatibility. If you encounter further problems, learn how to fix the Docker Desktop unexpected WSL error. You can also troubleshoot Docker Desktop starting forever or resolve the Docker CLR error 8000405 if either issue prevents the application from running properly.

FAQs

Why can’t I install Docker Desktop on Windows 11?

Docker Desktop installation can fail because virtualization is disabled, WSL 2 is missing or outdated, Windows lacks required components, or your system doesn’t meet Docker’s minimum requirements. Enable virtualization, update WSL, and retry the installation.

Can I install Docker Desktop without Hyper-V?

Yes. Docker Desktop supports the WSL 2 backend, so you don’t need to enable the full Hyper-V Windows feature. However, WSL 2 still requires hardware virtualization and Windows virtualization components.

How do I fix the Docker Desktop WSL 2 installation error?

Update WSL, enable Virtual Machine Platform, and check that virtualization is active in BIOS. If the error persists, open an elevated terminal and restart WSL using wsl –shutdown.

Does Docker Desktop require administrator privileges to install?

Not for its per-user installation mode, provided Windows already has the required components. However, all-users installation, Hyper-V support, and initial WSL configuration require administrator privileges.

More about the topics: docker desktop, Windows 11, Windows 11 Fix

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

User forum

0 messages