Install Docker on Windows Server 2019

In this blog post, I will show you how to install Docker on Windows Server 2019 and run Windows Containers.

Windows Server 2019 offers new advanced features for Windows Containers and today I will show you how to install Docker Enterprise edition on my host.

 Get started

The current Docker version as of writing this blog post is 18.03 which offers the latest features and security updates for Windows Server.

To install Docker on my Windows Server 2019 I will start with the PowerShell cmdlet below which will install the Docker PowerShell Provider.

Install-Module -Name DockerMSFTProvider -Repository PSGallery -Force

Next, I will install the latest docker version which is 18.03 and confirm that it is completed.

Install-Package -Name docker -ProviderName DockerProvider -RequiredVersion 18.03.1-ee-4 -force

Once completed, I will restart my server using

Restart-computer

When the server is up again, I will run the command below to confirm the version and below you will see that it’s Enterprise Edition version 18.03

docker version

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.