In this blog post, I’ll show you how to downgrade installed a version of Docker from Windows Server 2016.
Windows Server 2016 and docker allow us to upgrade and downgrade the installed Docker version very easily without breaking.
In my case, I’m going to downgrade Docker 17.06.2-ee-6 and Install 17.06.2-ee-5 from my Windows Server 2016 container Host.
To get started, I’ll check the installed Docker Version using the cmdlet below.
Using the cmdlet below, I’ll downgrade docker to 17.06.2-ee-5
Install-Package -Name docker -ProviderName DockerMsftProvider -RequiredVersion 17.06.2-ee-5 -Force -Verbose
When complete, I’ll restart the docker service using the line below:
And when I run docker version again, I’ll see the version I downgraded to below.
About Docker Versions
Below you can see the upcoming Docker Versions roadmap for upcoming releases.
Windows Server 2016 used Docker EE and Windows 10 Uses Docker CE.
Docker EE gets a new major version every 3 months and currently at 17.06 ( June 2017).
The latest Docker EE preview edition is at 17.10.0.ee-preview-3
Docker CE comes in two versions Edge and Stable:
- Edge is for users wanting a drop of the latest and greatest features every month.
- Stable is released quarterly and is for users that want an easier-to-maintain release pace.
Below you can see the Time-Based Release Schedule for Docker.
CE Edge get a new version every month
Docker CE stable and EE get a new version every 3 months.