Skip to content

Instantly share code, notes, and snippets.

Last active September 16, 2016 02:27
What would you like to do?
# This script is from MSDN
Install-WindowsFeatures Containers
#Download docker service and client
Invoke-WebRequest "" -OutFile "$env:TEMP\" -UseBasicParsing
# Put docker to \Program Files\docker
Expand-Archive -Path "$env:TEMP\" -DestinationPath $env:ProgramFiles
$env:path += ";c:\program files\docker"
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Docker", [EnvironmentVariableTarget]::Machine)
& $env:ProgramFiles\docker\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