This is both very clever and horrifying. This obviously works for development but doing a rolling update of your fleet is stressful without the additional wrinkle of progressively updating which tool you need to inspect or control that fleet.
If it has the capability to communicate cross-version, it should just do that, instead of displaying an error message that /doesn't/ point you to `DOCKER_API_VERSION`.
I'm not sure that I did. Let's expand out my point to see if I'm on the same page as the replies here.
1. TFA complains that versions of servers require corresponding client tools to be installed.
2. TFA says he loves docker in dev, but not in prod.
3. I state (omitting many steps): install the latest docker in your dev environment (or wherever you're connecting to prod), spin up a small docker image to run the appropriate version cli. This is cheap, easy, easy to understand why it works, consistent with points 1 and 2.
Run the previous version of the cli in a container on your local machine. https://hub.docker.com/_/docker/