How to Install Docker EE on Windows Server 2016 | Offline

You can use following instructions to Install latest Docker EE on Windows Server 2016

Note: Use PowerShell as an administrator to run below commands

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12Invoke-WebRequest -OutFile docker-19.03.12.zip https://dockermsft.azureedge.net/dockercontainer/docker-19-03-12.zip
Stop-Service docker
Expand-Archive docker-19.03.12.zip -DestinationPath $Env:ProgramFiles -Force
Remove-Item -Force docker-19.03.12.zip
$null = Install-WindowsFeature containersRestart-Computer -Force
$env:path += “;$env:ProgramFiles\docker”
$newPath = "$env:ProgramFiles\docker;" +[Environment]::GetEnvironmentVariable("PATH",[EnvironmentVariableTarget]::Machine)[Environment]::SetEnvironmentVariable("PATH", $newPath,[EnvironmentVariableTarget]::Machine)
dockerd --register-service
Start-Service docker
docker version
# servercore on windows server 2016
docker pull mcr.microsoft.com/windows/servercore:ltsc2016
# nanoserver on windows server 2016
docker pull mcr.microsoft.com/windows/nanoserver:sac2016

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store