NAME DESCRIPTION STARS OFFICIAL AUTOMATED alpine A minimal Docker image based on Alpine Linux… 5613 [OK] mhart/alpine-node Minimal Node.js built on Alpine Linux 440 anapsix/alpine-java Oracle Java 8 (and 7) with GLIBC 2.28 over A… 421 [OK] frolvlad/alpine-glibc Alpine Docker image with glibc (~12MB) 210 [OK] gliderlabs/alpine Image based on Alpine Linux will help you wi… 180 mvertes/alpine-mongo light MongoDB container 105 [OK] alpine/git A simple git container running in alpine li… 98 [OK] yobasystems/alpine-mariadb MariaDB running on Alpine Linux [docker] [am… 48 [OK] kiasaki/alpine-postgres PostgreSQL docker image based on Alpine Linux 44 [OK] alpine/socat Run socat commandin alpine container 36 [OK] davidcaste/alpine-tomcat Apache Tomcat 7/8 using Oracle Java 7/8 with… 36 [OK] zzrot/alpine-caddy Caddy Server Docker Container running on Alp… 35 [OK] easypi/alpine-arm AlpineLinux for RaspberryPi 32 byrnedo/alpine-curl Alpine linux with curl installed and set as … 26 [OK] jfloff/alpine-python A small, more complete, Python Docker image … 26 [OK] hermsi/alpine-sshd Dockerize your OpenSSH-server with rsync and… 24 [OK] etopian/alpine-php-wordpress Alpine WordPress Nginx PHP-FPM WP-CLI 21 [OK] hermsi/alpine-fpm-php Dockerize your FPM PHP 7.4 upon a lightweigh… 19 [OK] bashell/alpine-bash Alpine Linux with /bin/bash as a default she… 14 [OK] zenika/alpine-chrome Chrome running in headless mode in a tiny Al… 13 [OK] davidcaste/alpine-java-unlimited-jce Oracle Java 8 (and 7) with GLIBC 2.21 over A… 13 [OK] tenstartups/alpine Alpine linux base docker image with useful p… 9 [OK] spotify/alpine Alpine image with `bash` and `curl`. 9 [OK] rawmind/alpine-traefik This image is the traefik base. It comes fro… 5 [OK] hermsi/alpine-varnish Dockerize Varnish upon a lightweight alpine-… 1 [OK]
可以看到返回的信息中包括了: 镜像名称,描述,是否官方自作 等信息。
从像源中拉取镜像
要从镜像源中将自定的镜像拉取到本地,可以执行 pull 命令:
1
docker pull <镜像名>[:标签]
标签默认为: latest
我们练习拉取 search 命令查询的的官方 alpine 镜像,则执行:
1
docker pull alpine
系统显示:
1 2 3 4 5 6
Using default tag: latest latest: Pulling from library/alpine 9d48c3bd43c5: Pull complete Digest: sha256:72c42ed48c3a2db31b7dafe17d275b634664a708d901ec9fd57b1529280f01fb Status: Downloaded newer image for alpine:latest docker.io/library/alpine:latest
执行 images 命令,可以查看已经拉取到本地的镜像
1
docker images
系统显示
1 2
REPOSITORY TAG IMAGE ID CREATED SIZE alpine latest 961769676411 2 weeks ago 5.58MB