I had some issues to find the correct info to install Docker EE on Windows server and lost to much time on trial and error, so I decided to share how I did it.
The Docker EE license is included in Windows server licenses, so you don’t need extra licenses from Docker.
Install Docker EE on Windows server via PowerShell
Open PowerShell and execute the following commands
Install-WindowsFeature -Name Containers Restart-Computer -Force
Wait until the server is rebooted and then execute the next commands in PowerShell
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVersion 19.03 Start-Service docker