Setup docker on Windows Server 2016

Install Docker Engine - Enterprise

Fix connection issue 1

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Install Docker EE 2

Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force

Old docker version 3

Install the container feature:

Install-WindowsFeature containers

Restart the Virtual Machine:

Using Operation System: Reconfiguration (Planned)

Base operating system can be installed using ContainerImage PowerShell module. Install the module as:

Install-PackageProvider ContainerImage -Force