Skip to content

Instantly share code, notes, and snippets.

@mbrrg
mbrrg / Install-DockerOnWS2016ByDSC.ps1
Last active September 6, 2017 17:23 — forked from PlagueHO/Install-DockerOnWS2016ByDSC.ps1
Install Docker on Windows Server 2016 RTM using DSC
Configuration ContainerHostDsc
{
# Set up general parameters used to determine paths where Docker will
# be installed to and downloaded from.
$ProgramFiles = $ENV:ProgramFiles
$DockerPath = Join-Path -Path $ProgramFiles -ChildPath 'Docker\docker'
$DockerZipFileName = 'docker.zip'
$DockerZipPath = Join-Path -Path $ProgramFiles -ChildPath $DockerZipFilename
$DockerUri = 'https://download.docker.com/components/engine/windows-server/cs-1.12/docker.zip'