I have a Dockerfile that I use to install MySQL server in a container, which I then run as follows:
sudo docker run -t -i 09d18b9a12be /bin/bash
However, the MySQL service does not start by itself; I must manually start it (from within the container):
service mysql start
When I run the docker container, how do I start the MySQL service automatically?