Skip to content

Instantly share code, notes, and snippets.

@jermdw
Last active September 4, 2018 00:43
Show Gist options
  • Save jermdw/b4859dd3a006a067eaad8e4c5fefd3ab to your computer and use it in GitHub Desktop.
Save jermdw/b4859dd3a006a067eaad8e4c5fefd3ab to your computer and use it in GitHub Desktop.
Install Docker on Windows
Invoke-WebRequest
-UseBasicParsing
-Method GET
-Uri "https://master.dockerproject.org/windows/x86_64/docker.zip"
-OutFile "$env:TEMP\docker.zip"
Expand-Archive -Path "$env:TEMP\docker.zip"
-DestinationPath $env:ProgramFiles
$env:path += ";c:\program files\docker"
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";
C:\Program Files\Docker", [EnvironmentVariableTarget]::Machine)
dockerd --register-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment