0

I have read the "Getting Started" introduction on Docker's website, but I still have one question I could not find an answer to:

Is it possible to set up a Docker container which can create other containers (real-time) ? For instance, can I create a container called "ContainerDeployer" which can 1. Download existing containers from Docker's official, public Docker Hub repository and deploy them? 2. Create a new image based on user input and then run a container from the newly created image?

Thanks in advance.

learningtech
  • 83
  • 1
  • 7
  • That's sort of the idea behind PAAS, a system that allows automated builds to be deployed (or just standard containers), you're really simplifying the process though. – NickW Nov 11 '14 at 12:49
  • Sounds a bit like this: https://blog.docker.com/2013/09/docker-can-now-run-within-docker/ – Bryan Nov 11 '14 at 13:56
  • 1
    Sure, that's possible. Not sure why you don't want to use Docker's API directly but you can also run your ContainerDeployer in a container which has the Docker socket bind mounted to it. – Johannes 'fish' Ziemke Nov 11 '14 at 20:09

0 Answers0