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 2.8.5.201 -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 0.0.0.0:2375 --register-service
  • Start-Service docker

Microsoft images for Docker are available here https://hub.docker.com/u/microsoft/


Comments

Popular posts from this blog

Error "<#5.5.2 smtp;554 5.5.2 Invalid data in message> #SMTP#" when you send attachment in your mail

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