Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sixeyed
Created September 28, 2016 23:03
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sixeyed/22aba08ec78a9c43705cc912ba316dbe to your computer and use it in GitHub Desktop.
Save sixeyed/22aba08ec78a9c43705cc912ba316dbe to your computer and use it in GitHub Desktop.
Update Docker for Windows Server 2016
# Upgrades an existing Docker installation on Windows Server 2016
# Assumes you have Docker already installed by following the steps in https://blog.sixeyed.com/1-2-3-iis-running-in-nano-server-in-docker-on-windows-server-2016/
Stop-Service docker
dockerd.exe --unregister-service
Invoke-WebRequest "https://download.docker.com/components/engine/windows-server/cs-1.12/docker.zip" -OutFile "$env:TEMP\docker.zip" -UseBasicParsing
Expand-Archive -Path "$env:TEMP\docker.zip" -DestinationPath $env:ProgramFiles -Force
dockerd.exe --register-service
Start-Service docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment