Why use mysql container? #193
-
Hello Bret, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Lots of advantages, only a few disadvantages: Disadvantages
Advantages
And many more you can find on the web. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for you so completed answer. Now I'm sure that I'm going to deploy my database in container, and I'm sure too, that I have to learn more about docker, before to do that. |
Beta Was this translation helpful? Give feedback.
-
When you spin up your db as a cluster DB, you cannot access the same |
Beta Was this translation helpful? Give feedback.
-
Docker doesn't change the relationship of apps and their data files. A database container needs a volume to store its data, and those database files are unique to that running instance of a database binary. Two database binaries can't use the same set of database files. Docker doesn't change that limitation. It's simply running an isolated binary and providing it storage for persistent data (volumes). Different docker volume drivers provide different storage features around how a container accesses the volume (local, network shared, iscsi, etc.). Does that answer your question? |
Beta Was this translation helpful? Give feedback.
Lots of advantages, only a few disadvantages:
Disadvantages