I read this article http://blog.docker.io/2013/09/docker-can-now-run-within-docker/ , and I want to share the images between the host dock and the baby dock. But when I started
sudo docker run -v / var / lib / docker: / var / lib / docker -privileged -t -i jpetazzo / dind
I can not connect to the "child" docker from the dind container.
root@5a0cbdc2b7df:/
Client version: 0.8.1
Go version (client): go1.2
Git commit (client): a1598d1
2014/03/13 18:37:49 Can't connect to docker daemon. Is 'docker -d' running on this host?
How can I share my local images between host and child docker
source
share