With the upcoming release of Windows Server 2019, I decided to take it to a spin and install Docker for
Windows Server 2019 is still in preview mode and the only way to access it is using the Windows Insider program.
The latest build is very stable and soon to be release as a GA.
The current Docker version that is compatible with Windows Server 2019 is the preview enterprise edition which comes with more advanced features that will be release in the next windows version.
To install docker I will start with the first command below from PowerShell
Important: If you are planning to use nested virtualization and run Windows Server 2019 inside a VM like I am doing run the two
Set-VMProcessor -VMName Server2019 -ExposeVirtualizationExtensions $true
Get-VMNetworkAdapter -VMName Server2019 | Set-VMNetworkAdapter -MacAddressSpoofing On
Install-Module -Name DockerProvider -Repository PSGallery -Force
Next, I will install the preview edition and will confirm that it is completed
Install-Package -Name docker -ProviderName DockerProvider -RequiredVersion Preview
Once completed, I will restart my server using
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 17.10
To download Window Server insider build I will using the pull command below with the Windows Server core edition for Server insider
docker pull mcr.microsoft.com/windowsservercore-insider