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`.
Not doing so is a perfectly defensible decision. Not informing the user of the environment variable, however, is indeed a fairly awful mistake.