# Docker registry qiniu storage driver
This is a [docker-registry backend driver][registry-core] for [Qiniu Cloud Storage][qiniu].
## Usage (recommendation)
Go to [Qiniu Cloud Storage](http://www.qiniu.com/) to get your access_key first.
Run docker-registry service by docker container
```
docker run --rm \
-e SETTINGS_FLAVOR=qiniustorage \
-e QINIU_BUCKET=YOUR_BUCKET \
-e QINIU_ACCESSKEY=YOUR_ACCESSKEY \
-e QINIU_SECRETKEY=YOUR_SECRETKEY \
-e QINIU_DOMAIN=YOUR_BUCKET_DOMAIN \
-p 5000:5000 \
--name registry \
zhangpeihao/docker-registry-qiniu
```
## Usage via pip
```
# Install pip
apt-get -y install python-pip
# Install deps for backports.lzma (python2 requires it)
apt-get -y install python-dev liblzma-dev libevent1-dev
# Install docker-registry
pip install docker-registry
# finally
pip install qiniu docker-registry-driver-qiniu
export DOCKER_REGISTRY_CONFIG=/usr/local/lib/python2.7/dist-packages/docker-registry-driver-qiniu/config/config_qiniu.yml
export SETTINGS_FLAVOR=qiniustorage
export QINIU_BUCKET=YOUR_BUCKET
export QINIU_ACCESSKEY=YOUR_ACCESSKEY
export QINIU_SECRETKEY=YOUR_SECRETKEY
export QINIU_DOMAIN=YOUR_BUCKET_DOMAIN
docker-registry
```
## Contributing
In order to verify what you did is ok, just run `pip install tox; tox`. This will run the tests
provided by [`docker-registry-core`][registry-core].
For more information, plz check [`docker-registry-readme`][registry-readme]
[registry-core]: https://github.com/dotcloud/docker-registry/tree/master/depends/docker-registry-core
[qiniu]: http://www.qiniu.com/
[registry-readme]: https://github.com/docker/docker-registry/blob/master/README.md
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
docker-registry-driver-jss-0.1.2.tar.gz (19个子文件)
docker-registry-driver-jss-0.1.2
MANIFEST.in 121B
PKG-INFO 21KB
config
config_jss.yml 4KB
docker_registry
drivers
__init__.py 217B
jssstorage.py 2KB
__init__.py 217B
tests
requirements.txt 28B
LICENSE 18KB
setup.cfg 246B
requirements.txt 81B
setup.py 2KB
docker_registry_driver_jss.egg-info
PKG-INFO 21KB
requires.txt 82B
SOURCES.txt 584B
top_level.txt 16B
namespace_packages.txt 40B
dependency_links.txt 1B
zip-safe 1B
README.md 2KB
共 19 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 14w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 技术资料分享TF卡资料很好的技术资料.zip
- 技术资料分享TF介绍很好的技术资料.zip
- 10、安徽省大学生学科和技能竞赛A、B类项目列表(2019年版).xlsx
- 9、教育主管部门公布学科竞赛(2015版)-方喻飞
- C语言-leetcode题解之83-remove-duplicates-from-sorted-list.c
- C语言-leetcode题解之79-word-search.c
- C语言-leetcode题解之78-subsets.c
- C语言-leetcode题解之75-sort-colors.c
- C语言-leetcode题解之74-search-a-2d-matrix.c
- C语言-leetcode题解之73-set-matrix-zeroes.c
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功