Blog About Me Posts By Tags Subscribe Elastic Search My Sessions Terraform

Pavan Kumar Aryasomayajulu


Installing Docker On Windows

Hi,

In this post, we will see how to install docker on windows and other basic details.


System Requirements:

1. For docker to run, we need to enable virtualization in windows. Windows by default support virtualization using HyperV.
Restart your machine and go to boot menu and try to enable Virtualization there. It is mandatory to enable virtualization in the boot menu for installing HyperV.
Now go to control panel --> Programs --> Turn Windows Feature On or Off. There we can find HyperV, click on that checkbox on then OK. This will install HyperV.

2. HyperV is not supported on Home edition of windows.

3. The current version of Docker for Windows runs on 64bit Windows 10 Pro, Enterprise, and Education.


Don't worry if you don't have above versions of Windows OS. There is an option to install docker via Docker toolbox to get started.

Downloads:

Download the installer Docker for windows from this location 

As I mentioned above, if you don't have supported version of OS, then you can download Docker Toolbox from this location.


Installation steps:

After downloading the exe, you can execute it and based on the permissions it may ask you for username and password.

During installation, It may also prompt you to enable virtualization or install HyperV, there you can click OK and proceed further.

After going through the steps in the installation wizard, docker is installed on the machine and we can use it.


In case if you are using Docker toolbox after successful installation, we can see that Oracle Virtual Box is installed on your machine along with docker.


Verifying your installation:

Docker For windows.exe( Not for Docker toolbox):

Docker will not start by default after installation. We need to search for docker icon on the desktop or in program files and click on it.



Make sure that \"Expose daemon on tcp://localhost:2375 without TLS\" is checked.


Now open command prompt and issue following command

docker --version


Note: If you have any issues still, make sure that your anti-virus or firewall is blocking docker. I had this issue with Kaspersky on my machine and I need to turn off Kaspersky for my docker to work.


Docker Toolbox verification:

On desktop, we can see Docker toolbox icon


Desktop


When we click Docker quick start, it will open a terminal (which is a flavor of bash required by docker).

Now in the command prompt, you can issue following commands

docker --version


If we get the result, then docker installation is successful.


Thanks,

Pavan Kumar Aryasomayajulu

#Docker