下載容器

  1. 本章測試容器網路連線,以php網頁容器連線mariadb容器為例,先搜尋 apache-php 容器,只顯示名稱與描述。
    [deyu5@kvm3 ~]$ podman search --format "table {{.Name}} {{.Description}}" apache-php
    NAME                                                   DESCRIPTION
    docker.io/newdeveloper/apache-php                      apache-php7.2
    docker.io/newdeveloper/apache-php-composer             apache-php-composer
    docker.io/tplatform/apache-php                         apache-php
    docker.io/eboraas/apache-php                           PHP on Apache (with SSL/TLS supp...
    docker.io/nimmis/apache-php5                           This is docker images of Ubuntu ...
    docker.io/appsvcorg/apache-php-mysql                   Apache-PHP-MySQL
    docker.io/nimmis/apache-php7                           This is a docker images with Ubu...
    docker.io/chriswayg/apache-php                         Apache 2.4 web server with PHP 5...
    docker.io/tutum/apache-php                             Base docker image to run PHP app...
    docker.io/eilandert/apache-phpfpm                      apache/php-fpm (5.6/7.x/8.x - On...
    docker.io/arnofear/apache-php                          apache-php
    docker.io/lexasoft/apache-php                          apache-php
    docker.io/outrigger/apache-php                         PHP application server for Apach
    docker.io/centurylink/apache-php                       Base docker image to run PHP app...
    docker.io/sloppy/apache-php                            Our hello world app
    docker.io/corycollier/apache-php                       Generic Apache/PHP Web Host
    docker.io/mck7/apache-php                              Apache and PHP image.
    docker.io/breezechms/apache-php                        Base docker image to run PHP app...
    docker.io/bostonuniversity/apache-php-fpm              Web-server with Shibboleth SP to...
    docker.io/jusaba/apache-php
    docker.io/greeninja/apache-php-ngsh
    docker.io/cloudhero/apache-php
    docker.io/keopx/apache-php                             Debian 10 Buster based Apache 2....
    docker.io/obarrett/apache-php7                         DEPRECATED: Please switch to htt...
    docker.io/smotouchi/apache-php-concourse-docker-image
    
  2. 下載docker.io/eboraas/apache-php image。
    [deyu5@kvm3 ~]$ podman pull docker.io/eboraas/apache-php
    Trying to pull docker.io/eboraas/apache-php:latest...
    Getting image source signatures
    Copying blob 87d491ee9138 done
    Copying blob 88d46ef4120b done
    Copying blob ae3831f78190 done
    Copying blob d0ef2048a874 done
    Copying blob ee03cccd077b done
    Copying blob 36bfb2f615e0 done
    Copying blob fd994b5834da done
    Copying blob 5168faa5fdf5 done
    Copying blob 383764ffbbda done
    Copying config 29fda4e0e4 done
    Writing manifest to image destination
    Storing signatures
    29fda4e0e4fb4a23dbdd2954eade939f6d502285c51dab5198b5fcde72bffed7
    
  3. 搜尋 mariadb 容器,只顯示名稱與描述。
    [deyu5@kvm3 ~]$ podman search --format "table {{.Name}} {{.Description}}" mariadb
    NAME                                            DESCRIPTION
    docker.io/library/mariadb                       MariaDB Server is a high performing op...
    docker.io/linuxserver/mariadb                   A Mariadb container, brought to you by...
    docker.io/webhippie/mariadb                     Docker image for mariadb
    docker.io/centos/mariadb-101-centos7            MariaDB 10.1 SQL database server
    docker.io/wodby/mariadb                         Alpine-based MariaDB container image w...
    docker.io/ansibleplaybookbundle/mariadb-apb     An APB which deploys RHSCL MariaDB
    docker.io/mariadb/server                        MariaDB Server is a modern database fo...
    docker.io/jc21/mariadb-aria                     Extension of the mariadb image that fo...
    docker.io/centos/mariadb-102-centos7            MariaDB 10.2 SQL database server
    docker.io/mariadb/maxscale                      MariaDB MaxScale - The world's most ad...
    docker.io/kitpages/mariadb-galera               MariaDB with Galera
    docker.io/colinmollenhour/mariadb-galera-swarm  MariaDb w/ Galera Cluster, DNS-based s...
    docker.io/centos/mariadb-103-centos7            MariaDB 10.3 SQL database server
    docker.io/rightctrl/mariadb                     Mariadb with Galera support
    docker.io/lsioarmhf/mariadb                     ARMHF based Linuxserver.io image of ma
    docker.io/jelastic/mariadb                      An image of the MariaDB SQL database s...
    docker.io/panubo/mariadb-galera                 MariaDB Galera Cluster
    docker.io/clearlinux/mariadb                    MariaDB relational database management...
    docker.io/demyx/mariadb                         Non-root Docker image running Alpine L...
    docker.io/bianjp/mariadb-alpine                 Lightweight MariaDB docker image with ...
    docker.io/toughiq/mariadb-cluster               Dockerized Automated MariaDB Galera Cl...
    docker.io/tiredofit/mariadb                     Docker MariaDB server w/ S6 Overlay, Z...
    docker.io/arm64v8/mariadb                       MariaDB Server is a high performing op...
    docker.io/ccitest/mariadb                       CircleCI test images for MariaDB
    docker.io/jonbaldie/mariadb                     Fast, simple, and lightweight MariaDB ...
    
  4. 下載docker.io/library/mariadb image。
    [deyu5@kvm3 ~]$ podman pull docker.io/library/mariadb
    Trying to pull docker.io/library/mariadb:latest...
    Getting image source signatures
    Copying blob 034655750c88 done
    Copying blob 4bbcce26bc5e done
    Copying blob f0b757a2a0f0 done
    Copying blob 7b1a6ab2e44d done
    Copying blob 89c8a77f7842 done
    Copying blob 04f220ee9266 done
    Copying blob d1de5652303b done
    Copying blob ef669123e59e done
    Copying blob e5cec468d3a6 done
    Copying blob b14b1ba1d651 done
    Copying config e2278f24ac done
    Writing manifest to image destination
    Storing signatures
    e2278f24ac88b82f98ef58de4bf15c0b01df3de2f1fe835e2ea4350282d58700