title: Restart MySQL in Dockerfile
body: <p>Command: </p>
  
  <pre><code>RUN DEBIAN_FRONTEND=noninteractive apt-get install -y mysql-server
  RUN service mysql restart
  RUN mysql -u root -e "create database test"
  </code></pre>
  
  <p>MySQL fails to restart:</p>
  
  <pre><code>* Stopping MySQL database server mysqld
   ...done.
  * Starting MySQL database server mysqld
   ...fail!
  </code></pre>
  
  <p>The idea is that if I run the image as a container and I restart it there it's fine and it restarts, but not here. I basically wan to create an image that has a DB.</p>
  
  <p>Any ideas?</p>