I'm trying to find the DOCKER_HOST for my docker registry.
Looking at the sdk, I know it's possible to set the DOCKER_HOST.
But is it possible to find the current DOCKER_HOST been used?
import docker
client = docker.from_env()
client.info()
				I'm trying to find the DOCKER_HOST for my docker registry.
Looking at the sdk, I know it's possible to set the DOCKER_HOST.
But is it possible to find the current DOCKER_HOST been used?
import docker
client = docker.from_env()
client.info()
				Copyright © 2021 Jogjafile Inc.

                        
DOCKER_HOSTis an optional value.The default Docker host (and local registry) is a socket on localhost. I wouldn't expect that you'll find a
DOCKER_HOSTset unless you have chosen to set one.Various things can override, however, so it really depends on your local environment and setup.
DOCKER_HOSTvalueDOCKER_CONTEXTvaluedocker contextcommand-cflag to thedockercommandReference (docs.docker.com)