How to Install Docker EE on Windows Server 2016 | Offline

Recently I was learning docker on Windows Server 2016 and I realized that official docker docs no longer have information for Docker EE on Windows Server 2016

Microsoft official documentation link for scripted installation of Docker EE is broken.

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

Note: Use PowerShell as an administrator to run below commands

If you need to download a specific Docker Enterprise Engine release, all URLs can be found on this JSON index.

https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json

Asof 31 Oct 2020, docker-19.03.12 is the latest release.

On an online machine, download the zip file.

Copy this zip file to offline Windows Server 2016

Stop Docker service if earlier version of Docker is already installed

Extract the archive.

Clean up the zip file.

Install Docker. This requires rebooting.

Add Docker to the path for the current session.

Optionally, modify PATH to persist across sessions.

Register the Docker daemon as a service.

Start the Docker service.

Check if docker is running fine

Pull Windows base images for Windows Server 2016 from local docker registry in your network or from Docker Hub (docker hub requires internet connection)

Now your machine is good to run Windows Containers.

Digital Enthusiast

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