Install Docker on Windows Server 2016 or Newer [How to]

You can install Docker with just two commands


docker logo
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

For fixing Windows errors, we recommend Fortect:

Fortect will identify and deploy the correct fix for your Windows errors. Follow the 3 easy steps to get rid of Windows errors:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning your PC for Windows errors
  • Right-click on Start Repair to deploy the right fix for each error encountered during the scan
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

Docker is a useful tool, and many are wondering if it is possible to Install Docker on Windows Server 2016. Join us while we try to answer this question.

Is Docker supported on Windows Server?

Yes, Docker Community Edition/Moby is supported on Windows Server. You can also install containerd, or the Mirantis Container Runtime version.

How do I install Docker on Windows Server?

Install Docker Community Edition or containered

  1. Open PowerShell.
  2. Run the following commands: Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-DockerCE/install-docker-ce.ps1" -o install-docker-ce.ps1
    .\install-docker-ce.ps1

  3. Follow the instructions on the screen to complete the process.

For containered, the steps are the same but you need to use the following commands instead:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/Windows-Containers/Main/helpful_tools/Install-ContainerdRuntime/install-containerd-runtime.ps1" -o install-containerd-runtime.ps1
.\install-containerd-runtime.ps1

Is Docker free for Windows Server 2016?

Yes, Docker is free on Windows Server and Docker Enterprise comes included with with Windows Server license.

As you can see, it’s pretty simple to install Docker on Windows Server 2016, but issues with it can occur, and we wrote about Docker CLR error 8000405 and Docker Desktop unexpected WSL error.

Issues can appear on Windows 11 as well, and we have a guide on what to do if the Docker Desktop is starting forever, so don’t miss it.

Did you manage to install Docker? Let us know in the comments.

More about the topics: windows server

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

User forum

0 messages