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.
Angel Jasmine
0 уровень
Develop Docker container from Docker SDK
Комментарии (1)
- популярные
- новые
- старые
Для того, чтобы оставить комментарий Вы должны авторизоваться
Justinian Judge в Mega City One Master
8 марта 2021, 13:39
СПАМ
+3