Docker之Registry

Registry 实战

搜索镜像

  • docker search 镜像名
Angus@JianguodeiMac  ~/docker/d2  docker search whalesay
NAME                               DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
docker/whalesay                    An image for use in the Docker demo tutorial    653
caibar/whalesay                    Builds automatizados.                           1                                       [OK]
nikovirtala/whalesay               Tiny Go web service to print Moby Dock ASCII…   1                                       [OK]
swinton/whalesay                   whalesay, innit                                 1
milanfort/whalesay                 Modified docker/whalesay image that outputs …   1
ojenge/whalesay                    from docker/whalesay                            1
sabs1117/whalesay                  Whalesay with fortune phrases.                  1
burleyinnersbm07/whalesay          Edit to the WhaleSay                            0
dhalljohnston/whalesay             whalesay                                        0
firecyberice/whalesay              Docker **Cloud** automated build for **amd64…   0
gapfish/whalesay-ruby              whalesay function test                          0
forsingh/whalesay                  whalesay                                        0                                       [OK]
whalebrew/whalesay                                                                 0
dockeramiller/whalesay             Modified version of the official docker/whal…   0                                       [OK]
yang225217/whalesay                                                                0
hongxi/whalesay-fortunes           Demo, the whalesay-fortunes                     0
blaines/whalesay                                                                   0
nikovirtala/whalesay-win           Whalesay running on Microsoft IIS on Nano Se…   0                                       [OK]
ox0spy/whalesay-fortune            like docker/whalesay, just using fortunes pr…   0
phyominhtun/whalesay               First WhaleSay Test                             0
jenniferw/whalesay-tutorial        tutorial for whalesay 2.0                       0
jetolabs/whalesay                  whalesay with fortune cookie messages           0
ksvel/whalesay-demo                whalesay demo                                   0
sherabwangchuk/whalesay-fortunes   Improved whalesay with fortunes app             0
laveshin/whalesay                  whalesay image                                  0

下载镜像

  • docker pull 镜像名
Angus@JianguodeiMac  ~/docker/d2  docker search whalesay
NAME                               DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
docker/whalesay                    An image for use in the Docker demo tutorial    653
caibar/whalesay                    Builds automatizados.                           1                                       [OK]
nikovirtala/whalesay               Tiny Go web service to print Moby Dock ASCII…   1                                       [OK]
swinton/whalesay                   whalesay, innit                                 1
milanfort/whalesay                 Modified docker/whalesay image that outputs …   1
ojenge/whalesay                    from docker/whalesay                            1
sabs1117/whalesay                  Whalesay with fortune phrases.                  1
burleyinnersbm07/whalesay          Edit to the WhaleSay                            0
dhalljohnston/whalesay             whalesay                                        0
firecyberice/whalesay              Docker **Cloud** automated build for **amd64…   0
gapfish/whalesay-ruby              whalesay function test                          0
forsingh/whalesay                  whalesay                                        0                                       [OK]
whalebrew/whalesay                                                                 0
dockeramiller/whalesay             Modified version of the official docker/whal…   0                                       [OK]
yang225217/whalesay                                                                0
hongxi/whalesay-fortunes           Demo, the whalesay-fortunes                     0
blaines/whalesay                                                                   0
nikovirtala/whalesay-win           Whalesay running on Microsoft IIS on Nano Se…   0                                       [OK]
ox0spy/whalesay-fortune            like docker/whalesay, just using fortunes pr…   0
phyominhtun/whalesay               First WhaleSay Test                             0
jenniferw/whalesay-tutorial        tutorial for whalesay 2.0                       0
jetolabs/whalesay                  whalesay with fortune cookie messages           0
ksvel/whalesay-demo                whalesay demo                                   0
sherabwangchuk/whalesay-fortunes   Improved whalesay with fortunes app             0
laveshin/whalesay                  whalesay image                                  0
 Angus@JianguodeiMac  ~/docker/d2  docker pull docker/whalesay
Using default tag: latest
latest: Pulling from docker/whalesay
e190868d63f8: Already exists
909cd34c6fd7: Already exists
0b9bfabab7c1: Already exists
a3ed95caeb02: Pull complete
00bf65475aba: Pull complete
c57b6bcc83e3: Pull complete
8978f6879e2f: Pull complete
8eed3712d2cf: Pull complete
Digest: sha256:178598e51a26abbc958b8a2e48825c90bc22e641de3d31e18aaf55f3258ba93b
Status: Downloaded newer image for docker/whalesay:latest

查看镜像

Angus@JianguodeiMac  ~/docker/d2  docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
angus/hello-nginx   latest              e05671d01eeb        44 minutes ago      151MB
hello_docker        latest              a665b8c614c5        20 hours ago        5.58MB
ubuntu              latest              3556258649b2        2 weeks ago         64.2MB
nginx               v3                  bc1cac40a332        2 weeks ago         109MB
alpine              latest              b7b28af77ffe        3 weeks ago         5.58MB
nginx               latest              f68d6e55e065        5 weeks ago         109MB
docker/whalesay     latest              6b362a9f73eb        4 years ago         247MB
<none>              <none>              6fae60ef3446        4 years ago         349MB

运行镜像

  • docker run

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值