in ,

The Best Way to Install Docker Desktop On Windows As A Professional

Docker

The Best and Easy Way to Install Docker Desktop On Windows As A Professional Windows Administrator is to Using PowerShell.

Download Docker Desktop

Download Docker Desktop From Here,Then Double-click Docker Desktop Installer.exe to run the installer.

Install Docker Desktop Windows OS

When prompted, ensure the Enable Hyper-V Windows Features or/and  the Install required Windows components for WSL 2 option is selected/checked on the Configuration window.

Follow the instructions on the installation wizard to authorize the installer and proceed with the install.

When the installation is successful, the wizard will ask you to Close and Restart to complete the installation process.

Install Docker Desktop Windows OS Finishing

Note: Docker Must Run As Admin If your Windows Account Not listed in the Admin Group

Docker Features Requirements

Docker Desktop need to make sure some Windows Features are running

1- Virtualization and Hyper-V Features

2- Windows Subsystem For Linux Feature

3- Make Sure CPU Virtualization Enabled at your Computer Bios Settings

So Lets Go:

Now Run PowerShell as Administrator by:

Press Win Key + R. so a small window will pop up as shown in the screenshot below.

Windows Run

Type in the popup window powershell, then press Ctrl+Shift+Enter or press OK While hold Ctrl+Shift.

run windows powershell as admin

In The PowerShell Run The Following Commands,

1 – Enable the Windows Subsystem for Linux Feature

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

powershell install wsl

2 – Enable Virtual Machine Platform feature

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

powershell install virtual machine platform

3- Enable Microsoft Hyper-V Feature

dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V /all /norestart

powershell install microsoft hyper v

4- Make Hyper-V AutoStart

bcdedit /set hypervisorlaunchtype auto

power shell hyper-v auto start

5- To Check If CPU Virtualization Feature Enabled

Get-ComputerInfo -property "HyperV*"

Check Virtualization Feature Enabled

The line HyperVRequirementVirtualizationFirmwareEnabled : True shows if virtualization is enabled in Computer BIOS (firmware).

So if it's not True, You need to enable this feature from you device BIOS/UEFI settings.

See below sample for different BIOS Settings to enable Virtualization features that based on your CPU. So From your Computer Bios/UEFI settings.

What do you think?

Leave a Reply

Your email address will not be published. Required fields are marked *

      PHP

      PHP Simple Way To Getting Visitor Real IP Address

      Installing python and pip on Windows

      A Simple Way To Installing And Run Python And PIP On Windows