Running docker inside docker is definitely possible. The main --privileged=true that you run an external container with additional privileges (starting with --privileged=true ), and then install the docker in this container.
Check out this blog post for more info: Docker-in-Docker .
One possible use case for this is described in this entry . The blog post describes how to create dock containers in a Jenkins dock container.
However, Docker inside Docker is not the recommended approach for solving this type of problem. Instead, it is recommended that you create βsiblingβ containers as described in this post.
wassgren Dec 31 '15 at 13:39 2014-12-31 13:39
source share