A
A
Andrey Shubin2015-06-19 06:31:39
MySQL
Andrey Shubin, 2015-06-19 06:31:39

Is it a good practice to use Docker containers?

Hello!
I read a lot of different good things about Docker, and I would like to know what it could improve in my case.

I am writing various web projects in Python and its web frameworks. There is VDS. On the VDS is nginx and uWSGI, with which web applications are launched. Each application has its own virtual environment. All applications are connected to MySQL. And it all works just fine.

I would like to know the opinion of people who understand Docker - can using it somehow help the performance of the server, or its stability? And if so, how do you prepare it? Do I need, for example, to install the same MySQL in each container? Or should she live in a separate one? Or even on the host OS?

In general, many say that it's cool and write manuals on how to run your first container, but I still don't understand what exactly the advantages are.

I would be grateful for clarifications and / or links to articles that can help me.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sim3x, 2015-06-19
@idegree

And it all works just fine.
until you are touched by scriptkidi, it will be difficult to persuade yourself to change everything. And when they feel it, then you will have an understanding of why you need it and where you have gaps in the defense
server performance
No
stability
after setting limits - yes
Do I need, for example, to install the same MySQL in each container?
desirable if you need to migrate containers between multiple physical servers in the future. uWSGI will definitely need to be installed
Or even on the host OS?
if you really do something then immediately on coreOS
What exactly are the benefits I don't understand?
and you will not understand until you have a stream of client solutions and several servers.

D
Dmitry Shinkar, 2015-06-19
@DeadCowsDontMoo

What is Docker and what is it eaten with.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question