Docker Tip #92: Rolling Back to a Previous Docker Desktop Version
Sometimes you may want to back out of the latest Docker Desktop and install an older version. Here's how to do that.
You can head over to https://docs.docker.com/desktop/release-notes/ to find a list of all releases where there’s download links for Windows, macOS and various Linux distros.
Update: Unfortunately this doesn’t work the same with Docker Desktop 4.x as it used to with Docker Desktop 3.x and at the time of making this post I only used 3.x.
You can still rollback to an older version with 4.x but it involves uninstalling the old version and re-installing the new one instead of being able to replace it. This is a bit more inconvenient than replacing the current version since you’ll need to rebuild your images, but in the end it does let you roll back to an older version in a pinch!
Alternatively with 4.x you can try running .\DockerDesktopInstaller.exe install --disable-version-check
which is referenced in a GitHub
issue,
to allow upgrading from a previous version without uninstalling it entirely.
You may also need to modify certain Windows registry keys which is documented
in that issue.
Due to the above update I’ve unlisted the associated video on YouTube but if you still want to watch it, here’s a direct link but keep in mind the approach on video won’t work for DD 4.X. You’ll need to uninstall + reinstall.