title: Caching docker images locally
body: <p>I work in a Docker container that has a bunch of other Docker containers running inside. Every time the outer container is destroyed, I see that the images that were previously pulled from Docker Hub have to be pulled again.</p>
  
  <p>In the example of Redis, I see the following</p>
  
  <pre><code>docker run --name my_redis -p 6379:6379 -d redis
  Unable to find image 'redis:latest' locally
  latest: Pulling from library/redis
  </code></pre>
  
  <p>and the process is taking a while to complete.</p>
  
  <p>Is there a way to cache Redis so that the outer container can pick it up? Perhaps I just need to volume mount appropriate directories. Any advice is appreciated!</p>