Image

List, Delete, and Update Images

When we issue docker run, Docker will attempt to download any images it doesn't have cached locally. Locally cached images take up disk space and are not automatically managed. Furthermore, once downloaded, Docker never updates them for you. You can list, update, or delete locally cached images using the docker command.

In this tutorial, we'll:

  • Show how to list all images currently stored on your host OS
  • Identify the disk space occupied by cached images
  • Learn to explicitly download and update a locally cached image
  • Learn to delete images on your system