-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DinD with docker-compose #303
Comments
You're missing $ docker-compose exec docker-client docker-entrypoint.sh docker version |
Using docker-entrypoint shows another error:
|
Ohhh, the difference is that your DinD container is named Alternatively, I reverted back to your verbatim file, added |
Got it, so the problem is that I was not calling docker-entrypoint.sh which setups the env var Thanks for the help! |
After following the guide in https://hub.docker.com/_/docker/ I wrote this docker-compose.yaml that should setup the same as the shell commands (if I understood it correctly):
After running
docker-compose exec docker-client docker version
I got the following error, and I cannot connect to the dind docker from the docker-client:Is there anything I'm missing in my docker-compose.yml?
Running the commands from the README manually I get the correct result
The text was updated successfully, but these errors were encountered: