title: Size rule not working in logrotate
body: <p>I created a log-rotate option for our docker logs and it is working fine. Here is the configuration file</p>
  
  <pre><code>*root@aerogear:/var/lib/docker/containers/b8da13f8dc6cb642959103c23db2a02ef2c7291ae5f94625a92ac9329db1647e# cat /etc/logrotate.d/docker-container
  /var/lib/docker/containers/*/*.log {
    rotate 7
    hourly
    compress
    size=100M
    missingok
    delaycompress
    copytruncate
  }*
  </code></pre>
  
  <p>It seems that hourly logrotate is working fine. But because of some error, this log file was increased up to 18G, because the <code>size=100M</code> rule didn't work in that case. Do you know any specific reason for that?</p>