Skip to content

Docker – Installation on Windows

In this article, we are going to see how to install Docker on Windows.

Note

On windows if you are not using operating system Windows 10 Pro then you will have to install our docker toolbox and here docker will be running inside a virtual machine and then we will interact with docker with a docker client.

To understand this let us look at the left side of the below image where you can see on Linux operating system docker is installed directly on the operating system but if you look at the right side on Windows operating system docker is installed inside a Linux virtual machine and we use a docker client to interact with docker.

Docker Windows

Prerequisites:

  • Windows 7 or higher

  • 64-bit Operating System

  • Download and Install Linux kernel update package

Installation:

Follow the below steps to install Docker on Windows operating system:

Step 1

Visit this website and click on the “Docker Desktop for Windows” button.

Install Step 1

Step 2

The installer will ask you to install WSL2, so click on the tick box next to it and click on ok. This will download and install WSL2 for you as shown below:

Install Step 2

Step 3

Then we will need to restart our system, so click on “Close and restart” button in the Docker installer window.

Install Step 3

After you restart the computer it will open up the Docker windows as shown below:

Install Success

At this point we have successfully installed docker on our Windows operating system. We can verify this using the below command:

docker version

This will result in the following informations:

Docker Version

Are you ready to unleash the power of DevOps to streamline your Software Development and Deployment? Learn about our DevOps Live Course at GeeksforGeeks, created for all professionals in practice with continuous integration, delivery, and deployment. Learn about leading tools, industry best practices, and techniques for automation through an interactive session with hands-on live projects. Whether you are new to DevOps or looking to improve your skills, this course equips you with everything needed to streamline workflows and deliver excellent quality software in the least amount of time. Learn to take your skills in DevOps to the next level now, and harness the power of streamlined software development!