南君手记
  • 持续专注
  • Docker
    • Azure容器镜像代理服务失效
    • registry镜像加速器拉取谷歌镜像
    • 简单镜像加速
    • registry拉取dockerhub私有镜像
  • Golang
    • standard_init_linux.go:190: exec user process caused "no such file or directory
    • flota64后面保留三位小数
    • 数组赋值问题
    • append函数的使用方式
    • 错误返回非空的值
    • 数组类型转换
    • 强制类型转换
    • for循环之迭代变量
    • 切片长度
    • Map面试题
    • 指针方法&值方法
  • Gitbook
  • 油管知识汇
  • 穷查理宝典
    • 一些箴言
  • 自省
  • 技术调研
    • gomonkey
    • goconvey调研学习
    • Github认证调研
  • kubenetes
    • 利用NFS动态提供Kubernetes后端存储卷
    • k8s CRD(一)quick start
  • Tekton
    • Tekton Dashboard
    • tekton之Task&TaskRun概念篇
    • tekton简单介绍及安装
  • 哈佛的6堂独立思考课
由 GitBook 提供支持
在本页

这有帮助吗?

  1. Docker

简单镜像加速

上一页registry镜像加速器拉取谷歌镜像下一页registry拉取dockerhub私有镜像

最后更新于5年前

这有帮助吗?

快速拉取dockerhub、google镜像仓库、coreos镜像仓库的方式

常见的镜像仓库地址:

  1. DockerHub镜像仓库:

  2. 阿里云镜像仓库:

  3. google镜像仓库:

  4. coreos镜像仓库:

  5. RedHat镜像仓库:

1、快速拉取dockerhub公共镜像,私有镜像不行哦

平时我们拉取dockerhub镜像比较慢的时候,可以使用如下方式去拉镜像:

docker pull dockerhub.azk8s.cn/library/<imagename>:<version> 
#例子
docker pull dockerhub.azk8s.cn/library/centos

拉下来的镜像名字是dockerhub.azk8s.cn/library/centos:latest,但他和dockerhub上的centos:latest是一样的,就是走的微软加速器地址拉的,所以拉下来的镜像名称加了一个前缀dockerhub.azk8s.cn。你要是觉得别扭就把他重新tag一下:

docker tag dockerhub.azk8s.cn/library/centos:latest centos:latest

2、快速拉取谷歌镜像

docker pull gcr.azk8s.cn/google_containers/<imagename>:<version>
#例子
docker pull gcr.azk8s.cn/google_containers/kubedns-amd64:1.7

csdn博客:

https://hub.docker.com/
https://cr.console.aliyun.com
https://console.cloud.google.com/gcr/images/google-containers/GLOBAL
https://quay.io/repository/
https://access.redhat.com/containers
https://blog.csdn.net/u013276277