title: mysqld service is not starting on docker run
body: <p>I am using the below command in the <code>dockerfile</code> to automatically start <code>mysql</code> on <code>docker run</code>:</p>
  
  <pre><code>ENTRYPOINT service mysql start &amp;&amp; bash
  </code></pre>
  
  <p>The above command is working fine in some system but not in all. I also have tried the below command but still facing the same issue.</p>
  
  <pre><code>EXPOSE 3306
  CMD /etc/init.d/mysql start &amp;&amp; \
      /bin/bash
  </code></pre>
  
  <p>I am getting the below error in some system:</p>
  
  <pre><code>* Starting MySQL database server mysqld                             [fail]
  </code></pre>
  
  <p>So can anyone please help me solve this issue. So that my docker container can run on all type of system where docker can be installed. </p>