目录

docker search

docker search hello-world

docker pull

docker pull --help

docker pull hello-world

docker pull redis:6.0.8


docker search

在docker远程库里面搜索符合的镜像是否存在

[root@localhost ~]# docker search --helpUsage:  docker search [OPTIONS] TERMSearch the Docker Hub for imagesOptions:-f, --filter filter   Filter output based on conditions provided--format string   Pretty-print search using a Go template--limit int       Max number of search results (default 25)--no-trunc        Don't truncate output
[root@localhost ~]#

docker search hello-world

搜索hello-world

[root@localhost ~]# docker search hello-world
NAME                                       DESCRIPTION                                     STARS     OFFICIAL   AUTOMATED
hello-world                                Hello World! (an example of minimal Dockeriz…   1787      [OK]
kitematic/hello-world-nginx                A light-weight nginx container that demonstr…   152
tutum/hello-world                          Image to test docker deployments. Has Apache…   89                   [OK]
dockercloud/hello-world                    Hello World!                                    19                   [OK]
crccheck/hello-world                       Hello World web server in under 2.5 MB          15                   [OK]
vad1mo/hello-world-rest                    A simple REST Service that echoes back all t…   5                    [OK]
ansibleplaybookbundle/hello-world-db-apb   An APB which deploys a sample Hello World! a…   2                    [OK]
ppc64le/hello-world                        Hello World! (an example of minimal Dockeriz…   2
infrastructureascode/hello-world           A tiny "Hello World" web server with a healt…   1                    [OK]
thomaspoignant/hello-world-rest-json       This project is a REST hello-world API to bu…   1
rancher/hello-world                                                                        1
ansibleplaybookbundle/hello-world-apb      An APB which deploys a sample Hello World! a…   1                    [OK]
businessgeeks00/hello-world-nodejs                                                         0
strimzi/hello-world-producer                                                               0
freddiedevops/hello-world-spring-boot                                                      0
koudaiii/hello-world                                                                       0
strimzi/hello-world-consumer                                                               0
garystafford/hello-world                   Simple hello-world Spring Boot service for t…   0                    [OK]
strimzi/hello-world-streams                                                                0
tsepotesting123/hello-world                                                                0
kevindockercompany/hello-world                                                             0
dandando/hello-world-dotnet                                                                0
armswdev/c-hello-world                     Simple hello-world C program on Alpine Linux…   0
okteto/hello-world                                                                         0
rsperling/hello-world3                                                                     0
[root@localhost ~]#

STARS 表示点赞数

OFFICIAL 是否官方认证

AUTOMATED 是否自动构建

docker pull

docker pull --help

[root@localhost ~]# docker pull --helpUsage:  docker pull [OPTIONS] NAME[:TAG|@DIGEST]Pull an image or a repository from a registryOptions:-a, --all-tags                Download all tagged images in the repository--disable-content-trust   Skip image verification (default true)--platform string         Set platform if server is multi-platform capable-q, --quiet                   Suppress verbose output
[root@localhost ~]#

docker pull hello-world

不指定tag,默认使用latest (Using default tag: latest)

[root@localhost ~]# docker pull hello-world
Using default tag: latest
latest: Pulling from library/hello-world
Digest: sha256:13e367d31ae85359f42d637adf6da428f76d75dc9afeb3c21faea0d976f5c651
Status: Image is up to date for hello-world:latest
docker.io/library/hello-world:latest
[root@localhost ~]#[root@localhost ~]# docker images
REPOSITORY    TAG       IMAGE ID       CREATED        SIZE
hello-world   latest    feb5d9fea6a5   9 months ago   13.3kB
[root@localhost ~]#

docker pull redis:6.0.8

带标签版本号下载镜像

[root@localhost ~]# docker pull redis:6.0.8
6.0.8: Pulling from library/redis
bb79b6b2107f: Pull complete
1ed3521a5dcb: Pull complete
5999b99cee8f: Pull complete
3f806f5245c9: Pull complete
f8a4497572b2: Pull complete
eafe3b6b8d06: Pull complete
Digest: sha256:21db12e5ab3cc343e9376d655e8eabbdbe5516801373e95a8a9e66010c5b8819
Status: Downloaded newer image for redis:6.0.8
docker.io/library/redis:6.0.8
[root@localhost ~]# docker images
REPOSITORY    TAG       IMAGE ID       CREATED         SIZE
ubuntu        latest    27941809078c   4 weeks ago     77.8MB
hello-world   latest    feb5d9fea6a5   9 months ago    13.3kB
redis         6.0.8     16ecd2772934   20 months ago   104MB
[root@localhost ~]#

docker search 和 docker pull 使用相关推荐

  1. Docker 下载 JDK 镜像(docker search 、docker pull)

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 我有一个dockerfile 中要引用 jdk. 运行脚本发现 居然没有JDK 原始镜像.早期是下载 ...

  2. docker search - 搜寻镜像

    使用docker search 命令可以搜索docker hub官方仓库中的镜像. # docker search --helpUsage: docker search [OPTIONS] TERM从 ...

  3. Docker学习(三)-----Docker镜像常用命令

    六.Docker镜像 镜像是Docker的三大组件之一 Docker运行容器前需要本地存在对应的镜像,如果本地不存,Docker会从镜像仓库下载 6.1Docker获取镜像 6.1.1查找镜像 我们可 ...

  4. Docker(四):Docker 命令大全

    容器生命周期管理 docker run :创建一个新的容器并运行一个命令 语法 docker run [OPTIONS] IMAGE [COMMAND] [ARG...] OPTIONS说明: -a ...

  5. Docker(六):Docker 三剑客之 Docker Swarm

    实践中会发现,生产环境中使用单个 Docker 节点是远远不够的,搭建 Docker 集群势在必行.然而,面对 Kubernetes, Mesos 以及 Swarm 等众多容器集群系统,我们该如何选择 ...

  6. Docker学习(2)-Docker基础1

    Docker学习(1)-Docker简介 1.2 Docker安装及基础命令介绍 https://www.docker.com/#Docker官网 Docker 运行系统 OS 版本选择: Docke ...

  7. Docker初级:Docker常用命令总结

    此篇文章总结了使用Docker的常用命令,后续会一直更新,欢迎收藏学习使用. Docker官方命令地址:https://docs.docker.com/reference/ 文章目录 基本命令 镜像命 ...

  8. 【Docker】使用docker安装部署NextCloud私人网盘

    [Docker]使用docker安装部署NextCloud私人网盘 1.查询并下载NextCloud镜像 执行命令 docker search nextcloud docker pull nextcl ...

  9. docker安装、docker容器基本用法

    docker的概念 Image(镜像)  Container(容器)  Repository(仓库)  镜像(Image)就是一堆只读层(read-only layer)的统一视角  容器(conta ...

最新文章

  1. 程序员不要去这样的公司
  2. pythorch基本信息查询
  3. 力扣35-搜索插入位置(C++,左右闭区间,nums[mid]与target大小关系判断的不同及辨析)
  4. [Python] L1-002. 打印沙漏-PAT团体程序设计天梯赛GPLT
  5. mybatis3.2.2的一些测试
  6. argparse 部分参数整理
  7. BGP十三条选路原则
  8. 【水果识别】基于matlab GUI HSV+RGB水果分类【含Matlab源码 380期】
  9. linux eclipse memory,Linux下安装JDK和Eclipse
  10. Unity-VScode-Emmylua配置报错解决
  11. 打开PDF时显示please wait...怎么办?没有安装pdf阅读器经常出现的提示信息
  12. scratch编程一款节奏小游戏
  13. phpMyWind本地伪静态设置方法_已迁移
  14. OneR算法python实现
  15. Percona监控数据库解决方案
  16. Java实现洛谷 P1428 小鱼比可爱
  17. 用于实时人与物体交互检测的并行点检测和匹配
  18. FreeRTOS队列原理
  19. 转换 JSON API 用 Chopper 和 JsonSerializable
  20. vue中怎样实现弹出层动画效果?由上而下渐渐显示

热门文章

  1. 天九共享:引进全球项目 实现双向赋能
  2. 计算机应用与维修一体化课程,计算机工程系积极推进计算机应用专业一体化课程体系建设...
  3. 爬取猫眼短评相关数据可视化分析《悲伤逆流成河》 | 郭敬明五年电影最动人之作
  4. 手机订餐点菜神器【排队美食】
  5. 通过二维码进行产品促销
  6. 产品推广策略及促销策划
  7. 2021年低压电工考试题库及低压电工新版试题
  8. javaweb JAVA JSP财务管理系统记账管理系统jsp财务管理网站(理财系统财务管理系统)源码
  9. android10蓝牙搜不到ble设备_Android 蓝牙搜索不到设备(android M权限问题)
  10. 数据结构——掌握求解活动的最早(晚)开始时间