title: MySQL container crash after /etc/mysql/my.cnf change, how to edit back?
body: <p>I changed some mysql config settings and set something wrong, now Docker container keeps restarting and I cannot find the <code>my.cnf</code> file to edit in host filesystem. I have tried aufs/diff folders but so far unable to find it. Also tried:</p>
  
  <pre><code>find / -name my.cnf -exec nano {} \;
  </code></pre>
  
  <p>But it does not bring up the file I changed. And I tried to change <code>config.v2.json</code> to start <code>/bin/bash</code> instead of <code>mysqld</code> and restarted docker, but yet it started <code>mysqld</code> (due supervisor or something?) using official mysql container image.</p>