Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cheerego/docker-wrapper
k8s docker 国内镜像 gcr.io quay.io
https://github.com/cheerego/docker-wrapper
china docker gcr k8s mirror quay
Last synced: 3 days ago
JSON representation
k8s docker 国内镜像 gcr.io quay.io
- Host: GitHub
- URL: https://github.com/cheerego/docker-wrapper
- Owner: cheerego
- License: apache-2.0
- Created: 2019-07-11T12:15:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-01-12T07:43:23.000Z (almost 3 years ago)
- Last Synced: 2025-01-01T11:02:44.736Z (7 days ago)
- Topics: china, docker, gcr, k8s, mirror, quay
- Language: Go
- Homepage:
- Size: 35.2 KB
- Stars: 37
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Introduction
> 在K8S的使用过程中,总是有一些镜像拉取不下来。
> 灵感来源于 https://ieevee.com/tech/2019/03/02/azure-gcr-proxy.html
迫于拉取镜像很难受。
频繁重复的`docker pull` `docker tag` 很麻烦。
编写shell每次都要改。
所以编写了这个工具。
万恶的 `k8s.gcr.io` `gcr.io` `quay.io` .
# Requirement
docker in your system and docker command in your environment# Usage
```bash
# k8s.gcr.io
docker-wrapper pull k8s.gcr.io/kubernetes-dashboard-amd64:v1.10.1# gcr.io
docker-wrapper pull gcr.io/jenkinsxio/prow/crier:v20190510-3f2c8d788# quay.io
docker-wrapper pull quay.io/coreos/etcd:v3.3# normal
docker-wrapper pull nginx
```# Install
## Download
[release](https://github.com/cheerego/docker-wrapper/releases)or
go get github.com/cheerego/docker-wrapper
## Source build
```
git clone https://github.com/cheerego/docker-wrapper.git
cd docker-wrapper
go get
make
```## 我的另一个小工具,方便你切换 `kubeconfig`
https://github.com/cheerego/kube-switch