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
bedeca8f
Commit
bedeca8f
authored
Sep 26, 2016
by
Stefan Scherer
Browse files
Update Docker cs-1.12
parent
f9a0849c
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/docker/install-docker.ps1
View file @
bedeca8f
Set-ExecutionPolicy
Bypass
-scope
Process
New-Item
-Type
Directory
-Path
"
$(
$
env
:
ProgramFiles
)
\docker"
wget
-outfile
$
env
:
TEMP
\docker-
1.13.0-dev
.zip
"https://
master.dockerproject.com/windows/amd64/docker-1.13.0-dev
.zip"
Expand-Archive
-Path
$
env
:
TEMP
\docker-
1.13.0-dev
.zip
-DestinationPath
$
env
:
TEMP
-Force
wget
-outfile
$
env
:
TEMP
\docker-
cs-1.12
.zip
"https://
download.docker.com/components/engine/windows-server/cs-1.12/docker
.zip"
Expand-Archive
-Path
$
env
:
TEMP
\docker-
cs-1.12
.zip
-DestinationPath
$
env
:
TEMP
-Force
copy
$
env
:
TEMP
\docker\
*.
exe
$
env
:
ProgramFiles
\docker
Remove-Item
$
env
:
TEMP
\docker-
1.13.0-dev
.zip
Remove-Item
$
env
:
TEMP
\docker-
cs-1.12
.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