Last active
September 4, 2018 00:43
-
-
Save jermdw/b4859dd3a006a067eaad8e4c5fefd3ab to your computer and use it in GitHub Desktop.
Install Docker on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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