Docker tutorial images are listed in detail
- 2020-05-30 21:42:40
Docker mirror list:
Use docker images to display local existing images.
$ sudo docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE ubuntu 12.04 74fe38d11401 4 weeks ago 209.6 MB ubuntu precise 74fe38d11401 4 weeks ago 209.6 MB ubuntu 14.04 99ec81b80c55 4 weeks ago 266 MB ubuntu latest 99ec81b80c55 4 weeks ago 266 MB ubuntu trusty 99ec81b80c55 4 weeks ago 266 MB ...
In listing information, you can see several field informationFrom which warehouse, such as ubuntu Mirror the tag, such as 14.04 Its ID number (only 1) Creation time Image size
Where the mirror ID has only 1 to identify the mirror, note that ubuntu:14.04 and ubuntu:trusty have the same mirror ID, indicating that they are actually mirror images of the same 1.
The TAG information is used to mark different images from the same warehouse. For example, there are multiple mirrors in the ubuntu repository, and distributions are distinguished by TAG information, such as 10.04, 12.04, 12.10, 13.04, 14.04, and so on. For example, the following command specifies the use of mirror ubuntu:14.04 to start a container.
$ sudo docker run -t -i ubuntu:14.04 /bin/bash
If you do not specify a specific tag, the latest tag information is used by default.
Thank you for reading, I hope to help you, thank you for your support of this site!