docker run —name some-name -p 3306:3306 -e MYSQL_ROOT_PASSWORD=some_pass-d MySQL

here,

Now, we can use MySQL workbench or any other MySQL client to create the database and the tables.

Useful link:

https://stackoverflow.com/questions/29145370/how-can-i-initialize-a-mysql-database-with-schema-in-a-docker-container