I am new to docker technologies. Still now I am using xampp for development of PHP. Recently, I have install docker on my localhost. I have gone through documentation. Now its time to implement practically. I know how to run docker images. But I want to learn best way to use mysql docker container for local development.

I am planning to use mysql docker container instead of mysql of xampp. Looking for help for best setup.