I am trying to configure my dockerd to inject an env var into all containers that it starts.
More specifically, I need every container to use SSH for it's DOCKER_HOST
and also where that host is, so that containers don't try to volume mount the docker unix socket with -v /var/docker/docker.sock:/var/sock/docker.sock
because that's a command that needs to be restricted
So, the general question (inject ANY env var to all containers) would be useful, but specifically, I need to inject the DOCKER_HOST, which might have a non generalized answer