title: How do I remove a particular item from the docker cache?
body: <p>I run a docker build with command </p>
  
  <pre><code>sudo docker build -t catskills-xview2-0.0.0 .
  </code></pre>
  
  <p>I have previously built this tag.  It has a lot of cached build steps, like this:</p>
  
  <pre><code>Step 15/20 : RUN pip3 install matplotlib tqdm libtiff scipy Pillow scikit-image opencv-python imgaug IPython geopandas keras imantics simplification scikit-learn chainer tensorboard tensorboardX
   ---&gt; Using cache
   ---&gt; 2af652c17995
  Step 16/20 : RUN git clone https://github.com/xview2/xview2-baseline.git ~/code/xview-2
   ---&gt; Using cache
   ---&gt; 8ea290c99ee8
  </code></pre>
  
  <p>Most of the time I want the cache.  If I've updated source for a particular cache item, I want to delete that item so it will fetch it from scratch.  For example, cache item 8ea290c99ee8.</p>
  
  <p>I know that I can completely rebuild with --no_cache.  This is slow.</p>
  
  <p><strong>Question:</strong> How do I delete a single cache item using it's key, so that the rebuild will re-fetch on that step?</p>