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
     
  • 相关阅读:
    bzoj 4974 [Lydsy1708月赛]字符串大师 KMP 最小循环元 构造
    4.10 省选模拟赛 约数 数论 转换 三元组个数
    loj #6039 「雅礼集训 2017 Day5」珠宝 分组背包 决策单调性优化
    CF R 632 div2 1333F Kate and imperfection
    CF R 632 div2 1333D Challenges in school №41
    luogu P3703 [SDOI2017]树点涂色
    3.28 省选模拟赛 染色 LCT+线段树
    luogu P3279 [SCOI2013]密码
    4.8 省选模拟赛 相遇 求树上两路径交
    Hyper-V 2016 上安装windows7激活重启后黑屏无法进入系统
  • 原文地址:https://www.cnblogs.com/www1707/p/10269652.html
Copyright © 2011-2022 走看看