Docker Enterprise (Windows Server) is available at no additional cost to all Windows Server 2019 and 2016 customers. Technical support is aligned to the Microsoft support entitlement and provided by Microsoft. For more details refer the document.

docker_logo

How to install Docker Enterprise on Windows Server 2016 and 2019 ?

Open the powershell and execute the following commands.

Install-Module DockerMsftProvider -Force
Install-Package Docker -ProviderName DockerMsftProvider -Force

How to Test the Installation ?

Open the powershell and execute the following command.

docker container run hello-world:nanoserver

The above command will pull a hello-world image from the dockerhub registry and it will run it as a container in the docker instance. This activity requires internet connection.

How to check the Docker Version ?

Open the powershell and execute the following command. This will show the complete details of the docker installed on that machine.

docker version

How to upgrade the Docker Enterprise on Windows Server ?

First we can check whether there is any update available for the docker by executing the following command.

Find-Package -Name Docker -ProviderName DockerMSFTProvider

If any update is available, perform the update operation by executing the below command.

Install-Package -Name Docker -ProviderName DockerMSFTProvider -Update -Force

Restart the docker engine once the update is complete. The command to restart docker on windows from the command line is given below.

Restart-service docker