title: How to restrict Docker container logs size to a predefined value
body: <p>What is the default log rotation strategy used by <code>Docker</code> for container logs.</p>
  
  <p>How I can restrict the docker container log size to be <code>max 1g</code> and rotate if the size goes bigger.</p>