Skip to content
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

About docker in docker - how to make it work without parent sock file #129

Closed
aviNrich opened this issue Sep 6, 2021 · 1 comment
Closed

Comments

@aviNrich
Copy link

aviNrich commented Sep 6, 2021

Hi,
I have tried your docker in docker solution from here: docker-library/docker#306 (comment)
In my docker compose file, if I wont add the following volume I will get an error:
- /var/run/docker.sock:/var/run/docker.sock
The error...
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

How can I run the Docker file without bein dependent on the host docker engine?

If its not possible, how can I connect to my dockers via localhost. mysql -u root -h localhost -p not working,

Thanks

@tianon
Copy link
Owner

tianon commented Sep 8, 2021

I think maybe you should back up a hitch and describe what you're trying to accomplish?

@tianon tianon closed this as completed Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants