$ docker run -it --privileged docker:dind /bin/sh
/ # docker ps
error during connect: Get http://docker:2375/v1.40/containers/json: dial tcp: lookup docker on 192.168.65.1:53: no such host
/ #
Am I missing something? Is there no way to connect to the daemon without linking another container outside of this container?
Am I missing something? Is there no way to connect to the daemon without linking another container outside of this container?
Things I've tried:
dockerd &dockerd-entrypoint.sh &Trying to grok
dockerd-entrypoint.shand reverse-engineerTrying to set
DOCKER_HOST=localhost(based on Can't make docker login to work from within container #188)