How can I reflect the data in one container to another?

Viewed 236

I have 3 docker MySQL container running and I am trying to replicate the data in one container to another.

if I create a database in one mysql-container the other mysql-container should get updated with the the changes I made.

I tried and I did not find a way to do that.

How to make this happen ?

2 Answers
Related