×
Installing docker on windows 2016
Blog Containers

Installing docker on windows 2016

Installing docker on windows 2016

 

In this blog, we will show you the step-by-step to Installing docker in windows 2016.

INSTALLING REQUIREMENTS

  • Need a windows 2016 GUI physical host (or) VM.
  • Container Service required (This will installed while installing the docker service)

Note : We are installing the docker service in VM for this demonstration

 

VERIFYING WINDOWS UPDATES

  • Go to start menu and click on settings.

Installing docker in windows 2016

 

  • Then click on the update & security option.

Installing docker in windows 2016

 

  • Make sure that your container host has completely update-to-date.

Installing docker in windows 2016

 

INSTALLING NUGET PROVIDER

  • Go to start menu and click on PowerShell icon.

Installing docker in windows 2016

 

  • Make sure that you are running PowerShell as administrator.

Installing docker in windows 2016

  • Now install the Nuget PowerShell module using below command.

Install-Module -Name DockerMsftProvider -Repository PSGallery –Force

 

  • It will prompt us to install NUGET provider. Type Y and press enter.

Installing docker in windows 2016

 

  • Packages will start installing

Installing docker in windows 2016

 

  • Once it’s completed, it will display the PowerShell prompt.

Installing docker in windows 2016

 

INSTALLING DOCKER SERVICE

  • From the PowerShell window, execute the below command to install docker service.

Install-Package -Name docker -ProviderName DockerMsftProvider -verbose

Installing docker in windows 2016

  • As we need to trust this package by typing Y to continue the installation.

Installing docker in windows 2016

 

  • Now it will install the windows containers feature and install the docker service. We need to restart the windows container host to complete the installation.

Installing docker in windows 2016

 

  • Once server back to online,  get the status of docker service using below command.

get-service docker

Installing docker in windows 2016

 

  • To start the docker service, run the below command.

start-service docker

Installing docker in windows 2016

 

VERIFYING INSTALLATION

  • Go to C:\Program Files\ folder and you will able to find the Docker folder in it.

Installing docker in windows 2016

 

  • You will able to find docker.exe, dockerd.exe and metadata.json files inside this folder.

Installing docker in windows 2016

 

  • Go to PowerShell and execute the below command to find the docker version

docker version

Installing docker in windows 2016

It shows both docker client & docker server (engine) versions.

We have successfully installed the docker service in windows 2016.

Video

Thanks for using this blog, we hope it will be useful for you to install docker service in windows 2016.

2 thoughts on “Installing docker on windows 2016”

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.