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
File details
Details for the file docker-registry-driver-qiniu-0.1.19.tar.gz
.
File metadata
- Download URL: docker-registry-driver-qiniu-0.1.19.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82ed9061dc356db85b08be5feacd78f638201b02f8e6d7a2ffabb44f9c58f12b |
|
MD5 | 0df287b61603e674f45f371dd624b8ff |
|
BLAKE2b-256 | 21060c9f049d4c7cb92c439ffbffebc3424f41ffa8735024bfa8b3c924a05c53 |
File details
Details for the file docker-registry-driver-qiniu-0.1.19.linux-x86_64.tar.gz
.
File metadata
- Download URL: docker-registry-driver-qiniu-0.1.19.linux-x86_64.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d426e51d3bba646ab8c12f2661d9516c39aacca09118a40f9dbe686723597b85 |
|
MD5 | 55a54ebca4ade5bbf04f61d190fdbe55 |
|
BLAKE2b-256 | 93d406b0c8a816fe753c0d34c9402f1663d1e367493f8bc7f19689c5143af447 |