Soooo for running docker in docker, on windows 10. Powershell is run as admin. I have a manager and a worker up
the compose yaml file is as such:
i dont know why or what tty: true even does but its the only way to get it to stay up for some reason.
i try to init the manager with:
docker-compose exec manager docker swarm init
also tried with the port being 0.0.0.0:2375 as what is open in the compose yaml.
when i run the command
and get this:
Cannot connect to the Docker daemon. Is the docker daemon running on this host?
here is the result of a docker-compose ps
Name Command State Ports
swarmtest_manager_1 docker-entrypoint.sh sh Up 0.0.0.0:32782->2375/tcp, 0.0.0.0:32781->8080/tcp
swarmtest_worker_1 docker-entrypoint.sh sh Up 0.0.0.0:32780->8080/tcp
Please help! Running and testing services in the docker in docker environment woudl be ideal, although i still dont like compose as i am trying to learn how to use it better, creating a docker-machine and using the docker swarm mode seems much easier. But i am still a docker noob.