Install Docker On Windows Nano Server 2016

With the official release of Windows Nano Server 2016 to the public I have decided to revise most of my Nano Server articles to reflect the latest release.

In this article I’ll show you how I Install Docker on.
To get started:

  1. Download Nano Server 2016
  2. Join It to the Domain (optional)
  3. Connect to It using Remote PowerShell.
  4. Install the Windows Containers role

Next Install the Docker PowerShell Provider Module

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force

Next I’ll Install the Docker package

Install-Package -Name docker -ProviderName DockerMsftProvider

Restart Server to Finish Installation

Restart-computer -force

Install Nano Server container Image

Import-Module DockerMsftProvider

start-service docker

docker pull microsoft/nanoserver

For Windows Server Core Image use:

docker pull microsoft/windowsservercore

Restart the Docker service and that’s It.

Restart-Service docker