title: increase max_allowed_packet size in mysql docker
body: <p>We are using <strong>Docker</strong> for mysql, We are facing the below error while running</p>
  
  <pre><code>Packet for query is too large (12884616 &gt; 4194304). You can change this value on the server by setting the max_allowed_packet' variable.; nested exception is com.mysql.jdbc.PacketTooBigException: Packet for query is too large (12884616 &gt; 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
  </code></pre>
  
  <p>now we need to increase <code>max_allowed_packet</code> size in <strong>mysql</strong> configuration, Can anyone help me on docker command to increase <code>max_allowed_packet</code>.</p>