Did you know that you can install Docker in Window. Well, let’s have a look.
Before you install Docker in Window, you may want to checkout my previous post on an introduction to Docker:
* Introduction to Docker – Docker for Testing
Install Docker In Window
Before you install Docker, let’s go through the requirements. Firstly, you must own a legal copy of Windows 10 Professional or Enterprise, 64-bit. This will allow you to install the Docker MSI for Windows. However, let’s assume you don’t match the requirements above fully, you might be able to get away with installing the Toolbox version instead.
Navigate to www.docker.com and follow the links to download the Docker Toolbox. Alternatively, you can access the link directory from below:
Follow the instructions below to complete the installation.
01 – Click Next when prompted to start the setup wizard
02 – Select your installation destination and select Next
03 – Select all components (except Git) and select Next
04 – Select any additional tasks and select Next
05 – Confirm all your selections and select Install
Once the installation is complete, you will have both Kitematics and Docker Terminal installed. Run the Docker Terminal and wait until you see a screen like this:
Docker Hello World Example
Let’s run through a quick Docker ‘hello world’ example to ensure your installation is complete. In your terminal, type in the following command:
docker run hello-world
This should give you the output below:
The above output now confirms that you have successfully installed Docker on your machine. You were also able to pull an image from the Docker Hub, deploy it and run it.
Congratulations, you have now just installed Docker in Windows with a hello world example.