This repo demonstrates how to setup a mysql master slave using docker-compose and the official mysql docker image. For detailed article refere to http://tarunlalwani.com/post/mysql-master-slave-using-docker