
However for the best developer experience, we recommend installing at least one additional distro and enable Docker support:Įnsure the distribution runs in WSL 2 mode. The docker CLI and UI all work fine from Windows without any additional Linux distros.

WSL 2 adds support for “Linux distros” to Windows, where each distro behaves like a VM except they all run on top of a single shared Linux kernel.ĭocker Desktop does not require any particular Linux distros to be installed. Now docker commands work from Windows using the new WSL 2 engine. If you have installed Docker Desktop on a system that supports WSL 2, this option is turned on by default.

Follow the usual installation instructions to install Docker Desktop.Download and install the latest version of Docker Desktop for Windows.To avoid any potential conflicts with using WSL 2 on Docker Desktop, you must uninstall any previous versions of Docker Engine and CLI installed directly through Linux distributions before installing Docker Desktop. For detailed instructions, refer to the Microsoft documentation. Installed the WSL 2 feature on Windows.For more information, see System requirements. Windows 10, version 21H2 or later, or Windows 11, version 21H2 or later.


Windows Subsystem for Linux (WSL) 2 is a full Linux kernel built by Microsoft, which lets Linux distributions run without managing virtual machines.
