Answer the question
In order to leave comments, you need to log in
How to run multiple Docker containers through a Dockerfile (Docker container)?
There is a System consisting of several Docker containers, microservice architecture.
Now the deployment is handled by Docker-compose - which starts everyone, connects, etc. But there are problems with the actualization of this file by the end user, delivery, configuration and versioning.
Is it possible to put everything in a Dockerfile - to put an Image image in the Registry hub and people would download / update it, run a la docker run ... ?
What are the problems? Are containers inside a container bad? Or will the Docker daemon understand everything and deploy them in an optimal way, like Docker-compose, there will be no latency between the hardware and transit through all nested containers?
Answer the question
In order to leave comments, you need to log in
But there are problems with the actualization of this file by the end user, delivery, configuration and versioning.
It seems to me that it's easier to solve problems with updating this file than to rewrite everything into "containers within a container" based on the Dockerfile: there are many different problems with Docker-in-Docker that are often encountered when using gitlab runner. Here and performance, and the inaccessibility of functionality, and incomprehensible freezes, and problems with disk space.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question