docker search java
将输出显示为:
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
java Java is a concurrent, class-based, and obj... 756 [OK]
anapsix/alpine-java Oracle Java 8 (and 7) with GLIBC 2.21 over... 66 [OK]
develar/java 42 [OK]
isuper/java-oracle This repository contains all java releases... 28 [OK]
lwieske/java-8 Oracle Java 8 Container - Full + Slim - Ba... 17 [OK]
nimmis/java-centos This is docker images of CentOS 7 with dif... 8 [OK]
nimmis/java This is docker images of Ubuntu 14.04 LTS ... 7 [OK]
1science/java Java Docker images based on Alpine Linux 6 [OK]
andreluiznsilva/java Docker images for java applications 5 [OK]
和其他几行。
使用docker search -s 10 java
将图片限制为仅限10颗星显示:
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
node Node.js is a JavaScript-based platform for... 1899 [OK]
java Java is a concurrent, class-based, and obj... 756 [OK]
anapsix/alpine-java Oracle Java 8 (and 7) with GLIBC 2.21 over... 66 [OK]
develar/java 42 [OK]
isuper/java-oracle This repository contains all java releases... 28 [OK]
lwieske/java-8 Oracle Java 8 Container - Full + Slim - Ba... 17 [OK]
为什么第二个列表中会显示其他节点图像?
答案 0 :(得分:0)
我认为原因是当传递星号参数(-s)时,结果按星号递减排序。如果你去(仅用java过滤)
https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=java&starCount=0,
直到第二页,你才能看到节点图像,但只要你按星星过滤,它似乎也会被星星排序
https://hub.docker.com/search/?isAutomated=0&isOfficial=0&page=1&pullCount=0&q=java&starCount=1
<强>更新强>
我检测到同一搜索的结果不同,有时包括节点有时不会: