Hi,
i need to use DinD in our application, i have set up this:
docker run --privileged --name some-docker -d docker:1.10-dind
docker run --rm --link some-docker:docker docker:1.10 version
and it works. But now we’d like to use docker-compose to starting containers and i have tried setup also this DinD by docker-compose but it doesn’t work - i get error:
“Cannot connect to the Docker daemon. Is the docker daemon running on this host?”
My config file (yml):
version: '2’
services:
main:
image: docker:1.10
links:
- docker:docker
docker:
image: docker:1.10-dind
privileged: true
Can you help with that?
Best,
Tomasz Prus