Skip to content

mbdas/docker-registry-driver-swift

 
 

Repository files navigation

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_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.

About

Docker registry backend driver for swift

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.8%
  • Shell 4.2%