26
Docker Installation

Download the required softwares -
Please dont install any of this software before it may give you an error. Follow the below steps for installation carefully
Windows 10 64-bit: Home, Pro, Enterprise, or Education, version 1903 (Build 18362 or higher).
Enable the WSL 2 feature on Windows. For detailed instructions, refer to the Microsoft documentation.
Enable the WSL 2 feature on Windows. For detailed instructions, refer to the Microsoft documentation.
The following hardware prerequisites are required to successfully run WSL 2 on Windows 10:
To update to WSL 2, you must be running Windows 10.
Step 1:
First open command prompt of windows on administrator mode.
Then paste this command (Enable WSL)-
Then paste this command (Enable WSL)-
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
You will get WSL Enabled Successfully msg will be displayed on command prompt.
Step 2:
Now after successfully enabling WSL ,we need to enable virtualization capabilities on our windows machine.
For that open command prompt in administrator mode.
Then paste this command (Enable Virtualiztion feature)-
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Step 3:
Now install the WSL update package
Step 4:
open command prompt in administrator mode
Then paste this command (sets WSL2 as default version)-
wsl --set-default-version 2
Step 5 :
Now go to the Microsoft Store -> install the Linux Distro you prefer(I personally Installed Ubuntu) -> Launch the distro on your windows Device.
Do the setup of username and password for your installed Linux distro.
Step 6 :
Now install the Docker Desktop and Login with your Docker account.
If you dont have Docker account create one - DockerHub
Step 7 :
After this your docker desktop will get started and you will see something like this.


🎊 YAY,You have successfully installed Docker Desktop 🎊
26