zoukankan      html  css  js  c++  java
  • 021、镜像小结(2019-01-14 周一)

     
    镜像相关命令总结
     
        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
     
  • 相关阅读:
    取出某个月有几天
    重建索引时,一些数值
    java代理概念
    java内部类和静态内部类
    Lamdba表达式的代码使用讲解
    java 中Vector的使用详解
    mysql 安装失败 start service执行不下去
    Mysql中ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8怎么转换为sql sever2008的代码
    通过命令行发送邮件
    Servlet开发总结(一)
  • 原文地址:https://www.cnblogs.com/www1707/p/10269652.html
Copyright © 2011-2022 走看看