How to Update Docker On Windows Containers

In this blog post, I’ll show you how to update docker on Windows Containers Host using a few simple steps.

Docker and Microsoft have worked very hard for a few years to make sure the two products are working 100% and they have made a great job.

Starting with the Windows containers and docker installation steps which takes a few minutes with two cmdlets.

Update Process

The update process Is very straightforward, easy to manage and done entirely from the PowerShell console.

Before you start the update, make sure you do it after hours or not when critical loads are running on the containers because they will get disrupted by the update as the update will require a restart.

To update your docker version on Windows Server 2016, open PowerShell as Administrator and check the current version.

docker version

Install Update

To Install the update, run the cmdlet below:

Install-Package -Name docker -ProviderName DockerMsftProvider -Force

Restart the docker service using.

Restart-service docker

And check the version again it should be 16.06


Posted

in

by