title: Docker filling up storage on macOS
body: <p><em>(Post created on Oct 05 '16)</em></p>
  <p>I noticed that every time I run an image and delete it, my system doesn't return to the original amount of available space.</p>
  <p>The lifecycle I'm applying to my containers is:</p>
  <pre><code>&gt; docker build ...
  &gt; docker run CONTAINER_TAG
  &gt; docker stop CONTAINER_TAG
  &gt; rm docker CONTAINER_ID
  &gt; rmi docker image_id
  </code></pre>
  <p><em>[ running on a default mac terminal ]</em></p>
  <p>The containers in fact were created from custom images, running from node and a standard redis. My OS is OSX 10.11.6.</p>
  <p>At the end of the day I see I keep losing Mbs. How can I face this problem?</p>
  <p><strong>EDITED POST</strong></p>
  <p>2020 and the problem persists, leaving this update for the community:</p>
  <p>Today running:</p>
  <ul>
  <li>macOS 10.13.6</li>
  <li>Docker Engine 18.9.2</li>
  <li>Docker Desktop Cli 2.0.0.3</li>
  </ul>
  <p>The easiest way to workaround the problem is to prune the system with the Docker utilties.</p>
  <pre><code>docker system prune -a --volumes
  </code></pre>