How to install docker on windows?

In this tutorial I’m going to learn how to install docker on windows . Follow this tutorial i have to install docker on windows in very easy way.

1st step

Go to this URL :-  https://docs.docker.com/desktop/install/windows-install/

System requirements

Hyper-V backend and Windows containers
Windows 11 64-bit: Pro version 21H2 or higher, or Enterprise or Education version 21H2 or higher.
Windows 10 64-bit: Pro 21H2 (build 19044) or higher, or Enterprise or Education 21H2 (build 19044) or higher.
For Windows 10 and Windows 11 Home, see the system requirements in the WSL 2 backend tab.
Hyper-V and Containers Windows features must be enabled.
The following hardware prerequisites are required to successfully run Client Hyper-V on Windows 10:
64 bit processor with Second Level Address Translation (SLAT)
4GB system RAM
BIOS-level hardware virtualization support must be enabled in the BIOS settings. For more information, see Virtualization.

Install Docker Desktop on Windows ?

Next step go to download section and run downloaded file.

Next go to open

Next to install Linux

Next install downloaded file then go to Microsoft store and download ubuntu

Next click on ok

Next go to Microsoft store and search ubuntu tls

Next to open ubuntu and when you open first time its ask you put username and passoword put correctly then run below command

Pwd

Then open windowsPowerShell

wsl -l -v

To check running background distribution version and states

2nd step click on run as administrator

After installation Start Docker Desktop

Next to open docker

Click on accept button

Next to signin docker account

Then open wsl and run below command

docker run -d -p 80:80 docker/getting-started

Now its showing in containers and images sidebar also.

All done  !!

If you want to run project then run below code

docker run -p 8080:80 httpd

Run this in your browser

http://localhost:8080/

Thanks for reading

Hi I am Amit Kumar Thakur Experienced as s Software Developer with a demonstrated history of working in the information technology and services industry. Skilled in HTML, CSS, Bootstrap4, PHP, Laravel-9 , REST API,FB API,Google API, Youtube Api, Bitbucket,Github,Linux and jQuery. Strong engineering professional focused in Computer/Information Technology Administration and Management. Currently my profile is to Software Developer, analyze the requirement, creating frame for web application, coding and maintenance.

Related Posts

How to install Redis on Docker with Example ?

In this tutorial we’re going to learn how to install redis on docker with example. I have mentioned in every step with example of installations. 1st step…

How to run docker image using localhost ?

In this tutorial im going to learn how to run docker image in localhost. Run below code Open below url Now working successfully.

How to Check Container and Images Available on Docker using Command ?

In this tutorial am going to learn how to check how many containers and images available on docker lets go to check. Run below command Output: –…

Unable to find image ‘getting-started:latest’ locally

In this tutorial im going to sove Unable to find image ‘getting-started:latest’ locally issue when i run this command “docker run -dp 127.0.0.1:3000:3000 getting-started” this showing error….

What is Docker ? Docker architecture Explained ?

What is Docker? Docker is a conatainer management tools .One of the great things about open source is that you have choice in what technology you use…

How to install Docker on Windows ? Docker Installation Explained.

In this tutorial I’m going to learn how to install docker on windows . Follow this tutorial i have to install docker on windows in very easy…

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x