Public Repository

Last pushed: 5 months ago
Short Description
only test
Full Description

FROM
microsoft/nanoserver
ADD
docker

BUT docker can't use most be reload

1.
Invoke-WebRequest "https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc4.zip" -OutFile "$env:TEMP\docker-1.13.0-rc4.zip" -UseBasicParsing

2.
Expand-Archive -Path "$env:TEMP\docker-1.13.0-rc4.zip" -DestinationPath $env:ProgramFiles

3.

Add path to this PowerShell session immediately

$env:path += ";$env:ProgramFiles\Docker"

For persistent use after a reboot

$existingMachinePath = [Environment]::GetEnvironmentVariable("Path",[System.EnvironmentVariableTarget]::Machine)
[Environment]::SetEnvironmentVariable("Path", $existingMachinePath + ";$env:ProgramFiles\Docker", [EnvironmentVariableTarget]::Machine)

Docker Pull Command
Owner
tangjv

Comments (0)