Docker registry qiniu storage driver
Project description
# 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
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Close
Hashes for docker-registry-driver-qiniu-0.1.18.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a613921be687f8d2758949cfc64a0c6f3fdf4de57b6e9441c33c6870a8de310b |
|
MD5 | a84cd955281c84927ec37f25d0bb7027 |
|
BLAKE2b-256 | 7f5d4d13e63279c89342154d73ab4fbdb89bf252a52ba8ce4b143607c78342d2 |
Close
Hashes for docker-registry-driver-qiniu-0.1.18.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 464d3dd836bf0e1c521757f3f7768c34cd7b03b440f1c52f396ddbca59796379 |
|
MD5 | 17a46e416bc198205abd85414e0be66d |
|
BLAKE2b-256 | 4142f76ce1b5faaf660cff742abb8664254696a55050841064631ef03f61b8a8 |