• docker镜像拉取总结


    flannel#

    Copy
    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#

    Copy
    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#

    Copy
    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#

    Copy
    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#

    Copy
    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#

    Copy
    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#

    Copy
    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:#

    Copy
    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"
  • 相关阅读:
    tomcat快速部署脚本
    Centos7下搭建单节点Zookeeper
    request的基本使用用法
    Centos7 下配置jdk
    oracle备份脚本(以日期命名文件夹)
    Centos7 关闭防火墙
    Centos7 配置静态ip地址
    杀死占用8080端口的进程
    git clone的时候遇到“Please make sure you have the correct access rights and the repository exists”
    【笔记】关于多分类问题中的混淆矩阵,精准率
  • 原文地址:https://www.cnblogs.com/ExMan/p/12046791.html
Copyright © 2020-2023  润新知