I have created an app for my docker training projects. My Python code with Docker SDK is running within the container. I need to develop an additional docker container, pass input data files and wait for the container to run till completion. What will be the best solution: Run docker within docker? (that mean to register a new image within docker and start the container) Somehow access docker Engine, and ask it to run the second docker? (if so, where can I find any sample of this solution) start two dockers and connect with REST API (The worst solution in my case, since each docker, require a lot of resources) Any other solution will be nice to hear and test.