内容简介:之前我写过搭建一个google镜像站)这篇文章,使用的是nginx的一个模块,但是使用比较麻烦,今天就简化了一下
之前我写过搭建一个google镜像站
)这篇文章,使用的是nginx的一个模块,但是使用比较麻烦,今天就简化了一下
准备
首先你要准备一台国外的服务器
之后你要搭建 docker 环境
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
安装docker-compose
curl -L https://github.com/docker/compose/releases/download/1.24.0/docker-compose- uname -s - uname -m -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
启动谷歌镜像站
之后clone我这个项目,欢迎fork star follow我
git clone https://github.com/bboysoulcn/docker-nginx-google.git
之后直接启动
cd docker-nginx-google/ && docker-compose up -d
欢迎关注Bboysoul的博客www.bboysoul.com
Have Fun
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 搭建 Docker 镜像仓库代理
- 使用 tunasync 搭建开源镜像站
- 手动搭建Docker本地私有镜像仓库
- docker-harbor镜像仓库搭建
- OpenStack搭建企业私有云 二:镜像服务(持续更新...)
- 企业级镜像仓库harbor搭建(http/https)及使用
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Nature of Code
Daniel Shiffman / The Nature of Code / 2012-12-13 / GBP 19.95
How can we capture the unpredictable evolutionary and emergent properties of nature in software? How can understanding the mathematical principles behind our physical world help us to create digital w......一起来看看 《The Nature of Code》 这本书的介绍吧!