Installing Windows Docker On Windows 10

Installing Windows Docker On Windows 10

Installing windows docker on windows 10

In this blog, we will show you installing windows docker on windows 10 operating system.

REQUIREMENTS

  • Need a Windows 10 VM (or) Physical Machine

Note: In this demonstration, we are using windows 10 VM in HYPER-V and need to enable virtualization to install docker service in windows 10 machine

ENABLING VIRTUALIZATION

  • Go-to PowerShell window and execute the below command to enable the virtualization for VM processor.

Set-VMProcessor -VMName win10 -ExposeVirtualizationExtensions $true

Installing windows docker on windows 10
  • Open HYPER-V MMC, and right click on win10 VM and click settings.
Installing windows docker on windows 10
  • Disable the Dynamic memory option.
Installing windows docker on windows 10
  • Enable MAC address spoofing for win10 VM.
Installing windows docker on windows 10
  • Now, we have enabled the virtualization for this VM.

WINDOWS UPDATES

  • Make sure that windows 10 VM is up to date.
Installing windows docker on windows 10

INSTALLING HYPER-V ROLE

  • Right click on windows icon and click Run.
Installing windows docker on windows 10
  • Type appwiz.cpl command to open the program and features window.
Installing windows docker on windows 10
Installing windows docker on windows 10
  • Click on Turn windows features on or off to install features. Select the Hyper-V role checkbox and click OK.
Installing windows docker on windows 10
  • It will take few minutes to complete the installation. Once its complete reboot the VM to complete it.
Installing windows docker on windows 10
Installing windows docker on windows 10

INSTALLING WINDOWS CONTAINERS

  • Right click on windows icon and click Run.
Installing windows docker on windows 10
  • Type appwiz.cpl command to open the program and features window.
Installing windows docker on windows 10
Installing windows docker on windows 10
  • Click on Turn windows features on or off to install features. Select the Containers role checkbox and click OK.
Installing windows docker on windows 10
  • It will take few minutes to complete the installation.
Installing windows docker on windows 10
  • Click OK to close the installation window.
Installing windows docker on windows 10

INSTALLING DOCKER

  • Download the docker installation file from the below URL.

https://download.docker.com/win/stable/InstallDocker.msi

  • Double click the installer and it will show up the Agreement screen. Accept it and click install.
Installing windows docker on windows 10
  • The installation will take several minutes to complete.
Installing windows docker on windows 10
  • Once it’s completed, select Launch Docker checkbox and click finish.
Installing windows docker on windows 10
  • You can find the docker icon in starting mode at the tray section. It will take few minutes to start the docker service.
Installing windows docker on windows 10
  • It shows the below message once docker service started successfully.
Installing windows docker on windows 10

VERIFYING DOCKER

  • Right click on docker icon from the tray section and click on switch to windows container option.  By default, docker will in Linux container mode.
Installing windows docker on windows 10
  • It will take few minutes to complete the switching process.
  • Once it’s complete, open PowerShell window and executes docker version command to find the version of docker service.
Installing windows docker on windows 10
  • Pull a nano container image using below command.

docker pull assistanz247/nanoserver-iis:latest

Installing windows docker on windows 10
VIDEO

Thanks for reading this blog. We hope it was useful for you to learn how to install windows docker on windows 10 machine.

Loges