Skip to content

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

@aviNrich

Description

@aviNrich

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions