Update Docker On Windows Server 2019

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 Code 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 monthes 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 installes the latest version.

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

When the update process is completed, I restart the docker service using the poswershell commmad below and the check the installed version again to make sure the update process was secuessfull.

Restart-service docker

Leave a comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.