(E) Docker- mirror command

 

A help command

1.[root@MiWiFi-R3-srv docker]# docker version

  Similar java version

 

 

2.[root@MiWiFi-R3-srv docker]# docker info

  More comprehensive than the version

 

 

3.[root@MiWiFi-R3-srv docker]# docker --help

  Linux-like man command

 

 

 

Second, the mirror command

1.docker images

1.1docker images

We use REPOSITORY: TAG to define different image, if you do not specify a version label, Docker will use the latest version of the default label.

 1.2options Description

 

2.docker search a name XXXX mirror

Find Mirror

 

 

3.docker pull a mirror name XXXX

Download image

 

 tomcat: latest The latest version can be replaced with the specified label, such as tomcat: 3.2

 

4.docker rmi a mirror name XXXX

Remove Mirror

 Delete All: docker -rmi -f ¥ (docker images -qa)

 

Reference document: Silicon Valley is still docker instructional videos

Guess you like

Origin www.cnblogs.com/hydd/p/12627638.html