Answer the question
In order to leave comments, you need to log in
Why is this not done in docker (all-in-one black box)?
I often need small applications / microservices that I want to stuff into a "black box", run somewhere with a couple of commands, easily transfer and backup, restore on new hardware with all the giblets.
To do this, I delve into docker and began to build my images for the platforms that I use.
And almost everywhere I see advice, like "create 2 containers: one for your application, another container for the database, and then link them" and so far never - push everything, both the database and the application into one container. And here I fall into a stupor. If the main message of Docker is "containerization allows you to transfer and run your applications in any environment with all the dependencies", then what is the point of Docker if we again break the application into pieces, having all the crap that we had,
How do I see the best-way:
Answer the question
In order to leave comments, you need to log in
if we again break the application into pieces, having all the crap that we had when there was no docker?
you are confusing application virtualization with operating system virtualization
, Docker has the first ideology, and you think of virtual machines and are trying to instill in it the standard virtualization approach.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question