TritonDataCenter / sdc-docker

Docker Engine for Triton
Mozilla Public License 2.0
182 stars 49 forks source link

Add support for mounting docker socket #88

Open konobi opened 8 years ago

konobi commented 8 years ago

So a common pattern is to be able to use docker containers to build/run/manage docker containers. This generally appears in tutorials, etc. as:

docker run -t -i -v /var/run/docker.sock:/var/run/docker.sock ...

This allows for use of the docker engine inside the container. It would be great to have a way of reusing this pattern on lx by supplying a pre-authorized docker api endpoint inside the container.