Use docker3- mirror

 

1.docker images listed all the mirrors on the local host

Fields represent, in order: mirror source, image version, image id, image creation time, image size

[root@ipha-dev71-1 chenjl]# docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
12306_ticket        latest              ddc31ea56cd9        10 hours ago        1.84GB
<none>              <none>              d5857c982bb6        2 days ago          924MB
hello-world         latest              fce289e99eb9        8 months ago        1.84kB
training/webapp     latest              6fae60ef3446        4 years ago         349MB
docker images

 Example: Use version 14.04 ubuntu system image to run the container, the following command

[root @ dev71- the IPha- 1 chenjl] # Docker RUN -t -i Ubuntu: 14.04 / bin / bash # -t are specified version, -i is to enter interactive mode 
root @ f24c1984b49a: / #

 

Guess you like

Origin www.cnblogs.com/wang-mengmeng/p/11566232.html