-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd33b48
commit 25eab8f
Showing
5 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
net localgroup docker /add | ||
net localgroup docker vagrant /add | ||
|
||
@{group="docker"} | ConvertTo-Json | Out-File -Encoding ascii C:\ProgramData\docker\config\daemon.json | ||
|
||
restart-service docker | ||
# logoff and logon again |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,19 @@ | ||
# https://msdn.microsoft.com/de-de/virtualization/windowscontainers/quick_start/quick_start_windows_10 | ||
New-Item -Type Directory -Path 'C:\Program Files\docker\' | ||
Invoke-WebRequest https://aka.ms/tp5/b/dockerd -OutFile $env:ProgramFiles\docker\dockerd.exe | ||
Invoke-WebRequest https://aka.ms/tp5/b/docker -OutFile $env:ProgramFiles\docker\docker.exe | ||
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Docker", [EnvironmentVariableTarget]::Machine) | ||
. 'C:\Program Files\docker\dockerd' --register-service | ||
# https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10 | ||
Set-ExecutionPolicy Bypass -scope Process | ||
|
||
Set-ItemProperty -Path 'HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\Containers' -Name VSmbDisableOplocks -Type DWord -Value 1 -Force | ||
|
||
New-Item -Type Directory -Path "$($env:ProgramFiles)\docker" | ||
wget -outfile $env:TEMP\docker-1.12.0.zip https://get.docker.com/builds/Windows/x86_64/docker-1.12.0.zip | ||
Expand-Archive -Path $env:TEMP\docker-1.12.0.zip -DestinationPath $env:TEMP -Force | ||
copy $env:TEMP\docker\*.exe $env:ProgramFiles\docker | ||
Remove-Item $env:TEMP\docker-1.12.0.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 | ||
|
||
Start-Service Docker | ||
|
||
Write-Host "Installing NanoServer docker image..." | ||
docker pull microsoft/nanoserver:10.0.14300.1030 | ||
docker pull microsoft/nanoserver |