In this blog post
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

Comments
2 responses to “Install Docker on Windows Server 2019”
Needed to change to::
Install-Module -Name DockerProvider -Repository PSGallery -Force -Verbose
The first step worked for me. However, the second failed:
PS C:windowssystem32> Install-Package -Name docker -ProviderName DockerProvider -RequiredVersion 18.03.1-ee-4 -force
Install-Package : Unable to find package providers (DockerProvider).