zoukankan      html  css  js  c++  java
  • docker导入导出

    docker pull name && docker save name > name.tar
    这个name.tar 是可以传输给其他docker服务器且可以导入的
    看看docker的导入导出


    [root@host-10-1-1-161 yunwei]# docker images
    REPOSITORY TAG IMAGE ID CREATED SIZE
    coredns/coredns 1.2.0 da1adafc0e78 5 weeks ago 34.2 MB
    registry.cn-shanghai.aliyuncs.com/gcr-k8s/flannel v0.10.0-amd64 b949a39093d6 3 months ago 44.6 MB
    [root@host-10-1-1-161 yunwei]# ls
    DNS harbor-offline-installer-v1.4.0.tgz
    [root@host-10-1-1-161 yunwei]# docker save coredns/coredns:1.2.0 > coredns.tar
    [root@host-10-1-1-161 yunwei]# ls
    coredns.tar DNS harbor-offline-installer-v1.4.0.tgz

    [root@host-10-1-1-71 yunwei]# docker load < coredns.tar
    9198eadacc0a: Loading layer [==================================================>] 542.2 kB/542.2 kB
    7cf793e2bcf7: Loading layer [==================================================>] 33.94 MB/33.94 MB
    Loaded image: coredns/coredns:1.2.0

  • 相关阅读:
    hdu 2132 An easy problem
    ACM暑假培训宣讲稿
    hdu Lovekey(水题)
    windows 下c++编译
    semantic
    could not open XXX permission denied
    sv_target_output dx11
    hlsl 的tex函数
    effect state dx11
    cg 到hlsl的转换
  • 原文地址:https://www.cnblogs.com/effortsing/p/10060536.html
Copyright © 2011-2022 走看看