In this blog post, I show you how to update Docker on Windows Server 2019 container host.
My environment is made of a Windows Server 2019 virtual machine running on Microsoft Azure.
Get Started
To get started, I am using Visual Core as my command line tool to manage Docker.
The first this I need to do is check the current Docker version installed on my machine using the command below.
docker version

As shown above, I am running a 3 months old version, and I use the command check which docker version is available.
In my case, Docker 18.09.1 is the latest version.
Find-Package -Name Docker -ProviderName DockerMSFTProvider

To update, my Docker version to the latest version, I run the command below which installs the latest version.
Install-Package -Name Docker -ProviderName DockerMSFTProvider -Update -Force

When the update process is completed, I restart the docker service using the PowerShell command below and then check the installed version again to make sure the update process was successful.
Restart-service docker
