title: Docker container keeps growing
body: <p>I have a python script that on a loop</p>
  <ol>
  <li>Downloads video chunks from AWS S3 to /filename.</li>
  <li>Sorts files in order and concatenates them.</li>
  <li>Uploads entire processed video file to AWS S3.</li>
  <li>Deletes folder /filename.</li>
  </ol>
  <p>Then continues on a loop until the AWS SQS queue is empty.</p>
  <p>Script works great! I have run it for months. The hard drive space varies but never gets about 5%, depending on size of the video.</p>
  <p>I decided to put this script in a docker container and run docker-compose so I could run a bunch of them at a time.</p>
  <p>The problem is the hard drive fills up! I know with 5 running the space on the disk will be higher, but when I'm done processing, the file gets deleted.</p>
  <p>But with docker, it seems to be a cache or something. I exec into each container and they are running fine. Deleteing old files and all.</p>
  <p>No clue what the difference between, in a docker container and running as a service would have as impact on the HD.</p>
  <p>To add to this, when I &quot;rm&quot; the docker containers, the hard drive space frees up. I run a &quot;docker ps -s&quot; and the space on the containers is not crazy. Just seems like when you &quot;rm&quot; a file inside the docker container it never really &quot;rm&quot;s it.</p>