This commit is contained in:
fofolee
2019-04-08 23:22:26 +08:00
commit 7ca94f1141
5960 changed files with 530244 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<h1>Docker search 命令</h1>
<p><strong>docker search :</strong> 从Docker Hub查找镜像</p>
<h3>语法</h3>
<pre>docker search [OPTIONS] TERM</pre>
<p>OPTIONS说明</p>
<ul>
<li><p><strong>--automated :</strong>只列出 automated build类型的镜像</p></li>
<li><p><strong>--no-trunc :</strong>显示完整的镜像描述;</p></li>
<li><p><strong>-s :</strong>列出收藏数不小于指定值的镜像。</p></li>
</ul>
<h3>实例</h3>
<p>从Docker Hub查找所有镜像名包含java并且收藏数大于10的镜像</p>
<pre>runoob@runoob:~$ docker search -s 10 java
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
java Java is a concurrent, class-based... 1037 [OK]
anapsix/alpine-java Oracle Java 8 (and 7) with GLIBC ... 115 [OK]
develar/java 46 [OK]
lwieske/java-8 Oracle Java 8 Container - Full + ... 27 [OK]
nimmis/java-centos This is docker images of CentOS 7... 13 [OK]
</pre>