Update Docker 1.13.0-rc7

Signed-off-by: default avatarStefan Scherer <scherer_stefan@icloud.com>
parent 453c31a0
Set-ExecutionPolicy Bypass -scope Process
New-Item -Type Directory -Path "$($env:ProgramFiles)\docker"
# wget -outfile $env:TEMP\docker-cs-1.12.zip "https://download.docker.com/components/engine/windows-server/cs-1.12/docker-1.12.2.zip"
wget -outfile $env:TEMP\docker-1.13.0-rc6.zip "https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc6.zip"
Expand-Archive -Path $env:TEMP\docker-1.13.0-rc6.zip -DestinationPath $env:TEMP -Force
wget -outfile $env:TEMP\docker-1.13.0-rc7.zip "https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc7.zip"
Expand-Archive -Path $env:TEMP\docker-1.13.0-rc7.zip -DestinationPath $env:TEMP -Force
copy $env:TEMP\docker\*.exe $env:ProgramFiles\docker
Remove-Item $env:TEMP\docker-1.13.0-rc6.zip
Remove-Item $env:TEMP\docker-1.13.0-rc7.zip
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";$($env:ProgramFiles)\docker", [EnvironmentVariableTarget]::Machine)
$env:Path = $env:Path + ";$($env:ProgramFiles)\docker"
. dockerd --register-service -H npipe:// -H 0.0.0.0:2375 -G docker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment