Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Latest commit

 

History

History
54 lines (38 loc) · 1.59 KB

README.md

File metadata and controls

54 lines (38 loc) · 1.59 KB

Docker registry swift driver

This is a docker-registry backend driver for Openstack Swift.

PyPI version Build Status

Usage

Assuming you have a working docker-registry and swift setup:

pip install docker-registry-driver-swift

Then edit your docker-registry configuration so that storage reads swift.

Options

You may add any of the following to your main docker-registry configuration to further configure it:

storage: swift
storage_path: /registry
swift_authurl: _env:OS_AUTH_URL
swift_cacert: _env:OS_CACERT
swift_container: _env:OS_CONTAINER
swift_user: _env:OS_USERNAME
swift_password: _env:OS_PASSWORD
swift_tenant_name: _env:OS_TENANT_NAME
swift_region_name: _env:OS_REGION_NAME

Contributing

Install package dependencies:

$ pip install -r requirements.txt
$ pip install -r test/requirements.txt

In order to verify what you did is ok, just run make test. This will run the tests provided by docker-registry-core.

Please also follow the contributing guidelines in CONTRIBUTING.md.