This is a docker-registry backend driver based on the AliOss key-value storage.
Assuming you have a working docker-registry and an alioss account.
pip install docker-registry-driver-alioss
Edit your configuration so that storage
reads alioss
.
You may add any of the following to your main docker-registry configuration to further configure it.
storage: alioss
alioss_datacenter: ""
alioss_logfile: "/tmp/docker-registry-alioss.log"
alioss_loglevel: debug
Clone this.
Get your python ready:
You are ready to hack.
In order to verify what you did is ok, just run tox
.
This will run the tests provided by docker-registry-core
This is licensed under the Apache license. Most of the code here comes from docker-registry, under an Apache license as well.