Giter Site home page Giter Site logo

docker-images's Introduction

containers

All Contributors

这个仓库是用来构建并下载被墙掉的镜像,比如 gcr.io/xxx等,

最终产生的镜像路径是: registry.cn-hangzhou.aliyuncs.com/soolaugust/containers:$containers-$version, 比如 gcr.io/kubernetes-helm/tiller:v2.12.3 会被替换成 registry.cn-hangzhou.aliyuncs.com/soolaugust/containers:kubernetes-helm-tiller-v2.12.3

下载代码

  1. 首先Fork本项目
  2. 然后clone代码:
git clone https://github.com/{your_name}/docker-images.git
cd docker-images/

检查镜像是否存在

使用下面命令检查镜像是否存在:

./download.sh gcr.io/kubernetes-helm/tiller:v2.12.3 #./download.sh $your_image

如果没有成功下载,则说明镜像不存在,提交issue说明一下。

如何提交镜像

使用脚本

如果是在Linux开发环境下,可以使用脚本来简化操作。

修改并提交

./commit.sh gcr.io/kubernetes-helm/tiller:v2.12.3

本地成功成功后,提交issue说明一下。

下载并替换

./download.sh gcr.io/kubernetes-helm/tiller:v2.12.3

手动修改

更改Dockerfile

$image 替换成你要的镜像, 比如 gcr.io/kubernetes-helm/tiller:v2.12.3

提交修改

git add .
git commit -m "add images 'gcr.io/kubernetes-helm/tiller:v2.12.3'" # 修改信息格式为 add images $your_images
git tag release-vkubernetes-helm-tiller-v2.12.3 # 提交格式为 git tag release-v$your_image中 ‘/, :’替换成‘-’
git push --tags

提交后创建Pull Request, 等待approve后执行下面的操作:

下载并替换

docker pull registry.cn-hangzhou.aliyuncs.com/soolaugust/image:kubernetes-helm-tiller-v2.12.3
docker tag registry.cn-hangzhou.aliyuncs.com/soolaugust/image:kubernetes-helm-tiller-v2.12.3 gcr.io/kubernetes-helm/tiller:v2.12.3
docker rmi registry.cn-hangzhou.aliyuncs.com/soolaugust/image:kubernetes-helm-tiller-v2.12.3

如果有任何问题,欢迎提交issue

Contributors ✨

Thanks goes to these wonderful people (emoji key):


soolaugust

🚧

liuliangyu

📢

JeffDeans

📢

This project follows the all-contributors specification. Contributions of any kind welcome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.