zoukankan      html  css  js  c++  java
  • Docker镜像拉取总结

    flannel

    docker pull quay-mirror.qiniu.com/coreos/flannel:v0.11.0-amd64
    docker tag quay-mirror.qiniu.com/coreos/flannel:v0.11.0-amd64 quay.io/coreos/flannel:v0.11.0-amd64
    docker rmi quay-mirror.qiniu.com/coreos/flannel:v0.11.0-amd64 
    

    tiller

    docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.1 
    docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.1 gcr.io/kubernetes-helm/tiller:v2.14.1
    docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.14.1 
    

    nginx-ingress

    docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/nginx-ingress-controller:0.25.1
    docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/nginx-ingress-controller:0.25.1 quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.25.1
    docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/nginx-ingress-controller:0.25.1
    

    defaultbackend

    docker pull googlecontainer/defaultbackend-amd64:1.5
    docker tag googlecontainer/defaultbackend-amd64:1.5 k8s.gcr.io/defaultbackend-amd64:1.5
    docker rmi googlecontainer/defaultbackend-amd64:1.5
    

    kubernetes-dashboard

    docker pull sacred02/kubernetes-dashboard-amd64:v1.10.1
    docker tag sacred02/kubernetes-dashboard-amd64:v1.10.1 k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.1
    docker rmi sacred02/kubernetes-dashboard-amd64:v1.10.1
    

    metrics-server

    docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.2
    docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.2 gcr.io/google_containers/metrics-server-amd64:v0.3.2
    docker rmi registry.cn-hangzhou.aliyuncs.com/google_containers/metrics-server-amd64:v0.3.2
    

    k8szk

    docker pull registry.cn-hangzhou.aliyuncs.com/jaxzhai/k8szk:v3
    docker tag registry.cn-hangzhou.aliyuncs.com/jaxzhai/k8szk:v3 gcr.io/google_samples/k8szk:v3
    docker rmi registry.cn-hangzhou.aliyuncs.com/jaxzhai/k8szk:v3
    

    Other

    k8s:

    MY_REGISTRY=gcr.azk8s.cn/google-containers
    
    ## 拉取镜像
    docker pull ${MY_REGISTRY}/kube-apiserver:v1.15.1
    docker pull ${MY_REGISTRY}/kube-controller-manager:v1.15.1
    docker pull ${MY_REGISTRY}/kube-scheduler:v1.15.1
    docker pull ${MY_REGISTRY}/kube-proxy:v1.15.1
    docker pull ${MY_REGISTRY}/pause:3.1
    docker pull ${MY_REGISTRY}/etcd:3.3.10
    docker pull ${MY_REGISTRY}/coredns:1.3.1
    
    ## 添加Tag
    docker tag ${MY_REGISTRY}/kube-apiserver:v1.15.1 k8s.gcr.io/kube-apiserver:v1.15.1
    docker tag ${MY_REGISTRY}/kube-controller-manager:v1.15.1 k8s.gcr.io/kube-controller-manager:v1.15.1
    docker tag ${MY_REGISTRY}/kube-scheduler:v1.15.1 k8s.gcr.io/kube-scheduler:v1.15.1
    docker tag ${MY_REGISTRY}/kube-proxy:v1.15.1 k8s.gcr.io/kube-proxy:v1.15.1
    docker tag ${MY_REGISTRY}/pause:3.1 k8s.gcr.io/pause:3.1
    docker tag ${MY_REGISTRY}/etcd:3.3.10 k8s.gcr.io/etcd:3.3.10
    docker tag ${MY_REGISTRY}/coredns:1.3.1 k8s.gcr.io/coredns:1.3.1
     
    #删除无用的镜像
    docker images | grep ${MY_REGISTRY} | awk '{print "docker rmi "  $1":"$2}' | sh -x
    
    echo "end"
    
  • 相关阅读:
    hive中使用正則表達式不当导致执行奇慢无比
    C/C++实现正负数四舍五入
    EEPlat的控制器概念
    由于好高骛远所以半途而废(张作作)
    新辰:关于“网络推广不能仅仅依靠网络”的详解
    SQL的事务回滚操作带案例分析
    怎样把引用的jar包和本项目一起导出成jar文件
    A星算法(Java实现)
    Hadoop之——HBASE结合MapReduce批量导入数据
    Spring MVC 数据验证——validate编码方式
  • 原文地址:https://www.cnblogs.com/hongdada/p/11395200.html
Copyright © 2011-2022 走看看