Docker Installation

Kumuthini Ashokkumar
3 min readOct 21, 2022

--

Docker

Hello Readers,

In this Article We will discuss how we can install docker into Windows Machine.

Step : 1 Install Docker

Download and install the docker into your machine

Download : https://docs.docker.com/desktop/install/windows-install/

Step : 3 Enable the Windows Subsystem for Linux

Open PowerShell as Administrator (Start menu > PowerShell > right-click > Run as Administrator) and enter this command:

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

Step : 4 Enable Virtual Machine feature

Open PowerShell as Administrator and run:

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

Step : 5 Download the Linux kernel update package

Download : WSL2 Linux kernel update package for x64 machine
Run the update package downloaded in the previous step

Step : 6

Open PowerShell and run this command to set WSL 2 as the default version when installing a new Linux distribution:

wsl --set-default-version 2

Step : 7

Restart you PC

Step : 8

Search for Docker, and select Docker Desktop in the search results.

Now to check the Docker version, open your command prompt and type docker --version

Run Docker Hello world using following command docker run hello-world

Now you can check the docker image weather it created or not by using following command docker images hello-world

Now open your docker desktop check under the images

Now we are successfully installed and run the docker hello world .See you in next chapter.

— — — — — — — — — — — — — — — — — — — — — — —
Give your response and stay connected for more :-)

There are more to come :-)

I hope you liked the article.

Thanks for the reading!

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

--

--