Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
e9369f1e
Unverified
Commit
e9369f1e
authored
Jan 13, 2017
by
Stefan Scherer
Browse files
Update Docker 1.13.0-rc7
Signed-off-by:
Stefan Scherer
<
scherer_stefan@icloud.com
>
parent
453c31a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/docker/install-docker.ps1
View file @
e9369f1e
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-rc
6
.zip
"https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc
6
.zip"
Expand-Archive
-Path
$
env
:
TEMP
\docker-1.13.0-rc
6
.zip
-DestinationPath
$
env
:
TEMP
-Force
wget
-outfile
$
env
:
TEMP
\docker-1.13.0-rc
7
.zip
"https://test.docker.com/builds/Windows/x86_64/docker-1.13.0-rc
7
.zip"
Expand-Archive
-Path
$
env
:
TEMP
\docker-1.13.0-rc
7
.zip
-DestinationPath
$
env
:
TEMP
-Force
copy
$
env
:
TEMP
\docker\
*.
exe
$
env
:
ProgramFiles
\docker
Remove-Item
$
env
:
TEMP
\docker-1.13.0-rc
6
.zip
Remove-Item
$
env
:
TEMP
\docker-1.13.0-rc
7
.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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment