公式より

https://hub.docker.com/_/mysql

Using a custom MySQL configuration file
カスタムMySQL構成ファイルの使用

$ docker run −−name some−mysql −v /my/custom:/etc/mysql/conf.d −e MYSQL_ROOT_PASSWORD=my−secret−pw −d mysql:tag