Install Docker on Microsoft Windows 2016

Microsoft Windows 2016 supports Docker engine, running containers natively on Windows. To install Docker on Windows server you need to run:

  • Install-PackageProvider -Name NuGet -MinimumVersion -Force
  • Install-Module -Name DockerMsftProvider -Force
  • Install-Package -Name docker -ProviderName DockerMsftProvider -Force
  • Restart-Computer -Force
After that run:

# Open firewall port 2375
  • netsh advfirewall firewall add rule name="docker engine" dir=in action=allow protocol=TCP localport=2375
# Configure Docker daemon to listen on both pipe and TCP (replaces docker --register-service invocation above)
  • Stop-Service docker
  • dockerd --unregister-service
  • dockerd -H npipe:// -H --register-service
  • Start-Service docker

Microsoft images for Docker are available here


Popular posts from this blog

Change SMTP port 25 in Exchange 2007, 2010

How can you bypass sender or sender's domain in Exchange 2007 Content filter anti-spam agent

Adding additional e-mail address to Exchange 2007 public folder