You can try to export this variable in your terminal:
export DOCKER_API_VERSION=1.43
It should tell the client to use this specific version. You might want to add this to your ~/.zshrc (or if another shell than zsh is used: whatever rc file it uses).