使用docker search 命令可以搜索docker hub官方仓库中的镜像。
# docker search --help Usage: docker search [OPTIONS] TERM 从 Docker Hub 官网搜寻镜像 选项: -f, --filter filter 过滤输出内容 --format string 格式化输出内容--limit int 限制输出结果个数,默认为25个--no-trunc 不截断输出结果
搜索官方所有ubuntu的镜像
# docker search ubuntu NAME DESCRIPTION STARS OFFICIAL AUTOMATED ubuntu Ubuntu is a Debian-based Linux operating sys… 9512 [OK] dorowu/ubuntu-desktop-lxde-vnc Docker image to provide HTML5 VNC interface … 299 [OK] rastasheep/ubuntu-sshd Dockerized SSH service, built on top of offi… 213 [OK] consol/ubuntu-xfce-vnc Ubuntu container with "headless" VNC session… 177 [OK] ubuntu-upstart Upstart is an event-based replacement for th… 97 [OK] ansible/ubuntu14.04-ansible Ubuntu 14.04 LTS with ansible 96 [OK] neurodebian NeuroDebian provides neuroscience research s… 56 [OK] 1and1internet/ubuntu-16-nginx-php-phpmyadmin-mysql-5 ubuntu-16-nginx-php-phpmyadmin-mysql-5 50 [OK] ubuntu-debootstrap debootstrap --variant=minbase --components=m… 40 [OK] nuagebec/ubuntu Simple always updated Ubuntu docker images w… 23 [OK] i386/ubuntu Ubuntu is a Debian-based Linux operating sys… 17 1and1internet/ubuntu-16-apache-php-7.0 ubuntu-16-apache-php-7.0 13 [OK] ppc64le/ubuntu Ubuntu is a Debian-based Linux operating sys… 13 eclipse/ubuntu_jdk8 Ubuntu, JDK8, Maven 3, git, curl, nmap, mc, … 10 [OK] 1and1internet/ubuntu-16-nginx-php-5.6-wordpress-4 ubuntu-16-nginx-php-5.6-wordpress-4 7 [OK] codenvy/ubuntu_jdk8 Ubuntu, JDK8, Maven 3, git, curl, nmap, mc, … 5 [OK] darksheer/ubuntu Base Ubuntu Image -- Updated hourly 5 [OK] pivotaldata/ubuntu A quick freshening-up of the base Ubuntu doc… 2 smartentry/ubuntu ubuntu with smartentry 1 [OK] 1and1internet/ubuntu-16-sshd ubuntu-16-sshd 1 [OK] 1and1internet/ubuntu-16-php-7.1 ubuntu-16-php-7.1 1 [OK] paasmule/bosh-tools-ubuntu Ubuntu based bosh-cli 1 [OK] ossobv/ubuntu Custom ubuntu image from scratch (based on o… 0 pivotaldata/ubuntu-gpdb-dev Ubuntu images for GPDB development 0 pivotaldata/ubuntu16.04-build Ubuntu 16.04 image for GPDB compilation 0
搜索官方提供的带有ubuntu关键字的镜像:
# docker search --filter=is-official=true ubuntu
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
ubuntu Ubuntu is a Debian-based Linux operating sys… 9512 [OK]
ubuntu-upstart Upstart is an event-based replacement for th… 97 [OK]
neurodebian NeuroDebian provides neuroscience research s… 56 [OK]
ubuntu-debootstrap debootstrap --variant=minbase --components=m… 40 [OK]