博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
021、镜像小结(2019-01-14 周一)
阅读量:6968 次
发布时间:2019-06-27

本文共 2196 字,大约阅读时间需要 7 分钟。

参考
 
镜像相关命令总结
 
    docker images         查看docker host本地镜像列表
    docker history         查看镜像构建历史 
    docker commit        从容器创建新的镜像,不推荐
    docker build            从Dockerfile构建镜像
    docker tag               给镜像打tag
    docker pul               从Registry下载镜像
    docker push            向Registry上传镜像
    docker rmi               删除docker host本地镜像
    docker search          搜索docker hub上的镜像
 
 
root@docker-lab:~#
docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
root@docker-lab:~#
docker search busybox
NAME                        DESCRIPTION                                     STARS               OFFICIAL            AUTOMATED
busybox                     Busybox base image.                             1484                [OK]                
progrium/busybox                                                            68                                      [OK]
hypriot/rpi-busybox-httpd   Raspberry Pi compatible Docker Image with a …   45                                      
radial/busyboxplus          Full-chain, Internet enabled, busybox made f…   21                                      [OK]
hypriot/armhf-busybox       Busybox base image for ARM.                     9                                       
arm32v7/busybox             Busybox base image.                             6                                       
yauritux/busybox-curl       Busybox with CURL                               5                                       
armhf/busybox               Busybox base image.                             4                                       
prom/busybox                Prometheus Busybox Docker base images           2                                       [OK]
p7ppc64/busybox             Busybox base image for ppc64.                   2                                       
armel/busybox               Busybox base image.                             2                                       
i386/busybox                Busybox base image.                             2                                       
s390x/busybox               Busybox base image.                             2                                       
onsi/grace-busybox                                                          2                                       
odise/busybox-curl                                                          2                                       [OK]
aarch64/busybox             Busybox base image.                             2                                       
sequenceiq/busybox                                                          2                                       [OK]
arm64v8/busybox             Busybox base image.                             1                                       
spotify/busybox             Spotify fork of https://hub.docker.com/_/bus…   1                                       
ppc64le/busybox             Busybox base image.                             1                                       
sou856099/busybox                                                           0                                       
trollin/busybox                                                             0                                       
cfgarden/garden-busybox                                                     0                                       
concourse/busyboxplus                                                       0                                       
amd64/busybox               Busybox base image.                             0                                       
root@docker-lab:~#
docker pull busybox
Using default tag: latest
latest: Pulling from library/busybox
57c14dd66db0: Pull complete
Digest: sha256:b6e640a3768c460ad6066a003b6da52034c31aaf8500f9263057ddffcd830ef6
Status: Downloaded newer image for busybox:latest
root@docker-lab:~#
docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
busybox             latest              3a093384ac30        13 days ago         1.2MB
root@docker-lab:~#
docker rmi busybox:latest
Untagged: busybox:latest
Untagged: busybox@sha256:b6e640a3768c460ad6066a003b6da52034c31aaf8500f9263057ddffcd830ef6
Deleted: sha256:3a093384ac306cbac30b67f1585e12b30ab1a899374dabc3170b9bca246f1444
Deleted: sha256:683f499823be212bf04cb9540407d8353803c25d0d9eb5f2fdb62786d8b95ead
root@docker-lab:~#
docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
 

转载于:https://www.cnblogs.com/www1707/p/10269652.html

你可能感兴趣的文章
【收藏】8段JQuery处理表单的代码片段,很实用
查看>>
利用 Css 制作精美的卡片UI
查看>>
Jmeter使用陷阱
查看>>
夏日葵电商:微信商城系统开发,分享产品运营几大细节
查看>>
ios证书--快速创建iOS证书及描述文件工具
查看>>
web前端开发前的环境搭建
查看>>
jQuery源码分析之noConflict()
查看>>
7步学会在Windows下上架iOS APP流程
查看>>
PHP使用CURL详解
查看>>
nodejs源码中的require问题
查看>>
带标签的长标题省略展示的实现
查看>>
区块链技术精华:四十种智能合约支持平台(四)
查看>>
DevOps是90%的改变和10%的技术
查看>>
Yelp研发实践:使用服务拆分单块应用
查看>>
WordPress.com使用JavaScript替换掉PHP
查看>>
代码自解释不是不写注释的理由
查看>>
Racket 6.11提供了稳定的细化类型和依赖函数特性
查看>>
Visual Studio 15改进C++工程加载
查看>>
使用 Kanban精益创新
查看>>
Deis发布1.4版本,支持Microsoft Azure
查看>>