I am trying to use a remote DOCKER_HOST
via ssh
from a docker-in-docker container, like this:
docker run --rm \
-e DOCKER_HOST=ssh://<USER>@<HOST> \
docker:18.06 \
docker ps
But this returns an error:
Invalid bind address format: ssh://<USER>@<HOST>
If I am not using the docker-in-docker container, it works.
Is it possible to use a remote DOCKER_HOST
via ssh
?