Skip to content

Why use mysql container? #193

Answered by BretFisher
nandoreisbr asked this question in Q&A
Discussion options

You must be logged in to vote

Lots of advantages, only a few disadvantages:

Disadvantages

  • If you're not careful about controlling resources then you'll starve your db or other apps on a single docker host. Docker has all the options to control that, but many forget to use them. This isn't a Docker-specific issue, but more of a "running many things on one host" issue.
  • Similar to above, just because you can run 10 database servers on the same host with docker easily, doesn't mean you should do that, based on your resource requirements of each.
  • If you need very high networking performance, you may not want to use Docker network plugins like overlay or bridge since they add overhead. If this becomes an issue, move to using

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BretFisher
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #26 on August 19, 2021 16:07.