Installation Directives for Docker
- Virtualization enabled in BIOS
- Windows Subsystem for Linux 2 (WSL 2) enabled (recommended)
- Open PowerShell or Windows Command Prompt in administrator mode by right-clicking and selecting "Run as administrator". Run the following command.
wsl --install- To open wsl you have to install Linux Distribution.
- To install distrubition, enter:
wsl --install -d <Distribution Name>- Replace with the name of the distribution you would like to install.
- Or you can install Distribution from Windows Store.
- For upgrade wsl 1 to wsl 2 follow the steps.
wsl.exe --set-version (distribution name) 2
wsl.exe --set-default-version 2- For more about WSL installation you can visit miscrosoft learn.
- If you have encountered problem with installation of wsl you can follow orders in Microsoft Manual installation for older versions of WSL.
- Install WSL with at least version 1.1.3.0.
- Download Docker Desktop for Windows from offical website.
- Run the installer (Docker Desktop Installer.exe)
- Follow the usual installation instructions to install Docker Desktop. Depending on which version of Windows you are using, Docker Desktop may prompt you to turn on WSL 2 during installation. Read the information displayed on the screen and turn on the WSL 2 feature to continue.
- Start Docker Desktop from the Windows Start menu.
- Navigate to Settings.
- From the General tab, select Use WSL 2 based engine.. If you have installed Docker Desktop on a system that supports WSL 2, this option is turned on by default.
- Select Apply & Restart.
- For further information you can visit offical docker website.