In this post, i will show you how to trouble shoot Docker Desktop for Windows installation issue, before installing Docker on windows, you need to verify whether Hyper-V on windows 10 is Enabled or not, by this will be Disabled (Some Desktop PCs). Follow these steps to successfully install Docker on Windows.
links to get the Docker and Installation instructions Urls.
Link to download docker for desktop windows
https://hub.docker.com/editions/community/docker-ce-desktop-windows
Instruction to install docker on windows
https://docs.docker.com/docker-for-windows/install/
Before installing Docker for Windows, make sure Virtualization enabled on your PC, if you don’t enabled and try to install Docker on Windows, you will see an error when Docker is starting.
To fix this error follow these steps:
Step 1:Go to Task Manager -> Performance
If the Virtualization is “Disabled”, follow step 2 instructions to enable the same.
Step 2: Setting Up Hyper-V
1.Ensure that hardware virtualization support is turned on in the BIOS settings, Restart the computer ( keep pressing
F10 while windows restarting to get the BIOS settings”)
Power Advanced -> System Security -> User Up or Down arrow button to Enable the option.
2. Save the BIOS settings and boot up the machine normally.
3. Once Rebooted the PC, type turn windows features on or off and select that item.
4. Select and enable Hyper-V, click OK.
5. If Hyper-V was not previously enabled, reboot the machine to apply the change.
6. To start the Install click on the Get Docker Desktop for Windows.
7. Once you have successfully installed Docker for Windows, open a Power Shell window and type docker version.