The help command

  • docker version
  • docker info
  • docker –help

The mirror command

docker images

Lists the images on the local host



Description of each option:

  • REPOSITORY: represents the REPOSITORY source of the image
  • TAG: TAG of the mirror. Latest indicates the latest version (default).
  • IMAGE ID: indicates the ID of an IMAGE
  • CREATED: indicates the time when a mirror is CREATED
  • SIZE: indicates the mirror SIZE

A REPOSITORY source can have multiple tags representing different versions of the REPOSITORY source. We use REPOSITORY:TAG to define different images and customize versions. If you do not specify a version tag for an image, for example if you only use Ubuntu, Docker will default to Ubuntu: Latest image

The OPTIONS:

  1. -a: lists all local mirrors (including the intermediate image layer)
  2. -q: Displays only the mirror ID.
  3. – Digests: ests of images are displayed
  4. – no-trunc: displays complete image information
  • -a Command example
 docker images -a
Copy the code

<