Public | Automated Build

Last pushed: 6 days ago
Short Description
Add swift storage support to the official docker registry image
Full Description

docker-registry-swift

Source for automated builds of a docker registry image.

The built image is available at https://registry.hub.docker.com/u/pallet/registry-swift/

The image is based on the official registry image, but with added
support for storing images on Swift.

Run a docker registry backed by a Swift datastore (e.g. on Rackspace):

/usr/bin/docker run --rm \
  -e SETTINGS_FLAVOR=swift \
  -e OS_CONTAINER=docker-registry \
  -e OS_USERNAME=your-username \
  -e OS_PASSWORD=your-password \
  -e OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/ \
  -e OS_REGION_NAME=DFW \
  -e OS_TENANT_NAME=MossoCloudFS_nnnnn \
  -p 5000:5000 \
  --name registry \
  pallet/registry-swift

License

Copyright © 2014 Hugo Duncan

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.

Docker Pull Command
Owner
pallet
Source Repository

Comments (2)
vklonghml
a year ago

@ramwin i meet the same question with you

ramwin
2 years ago

I tried the command above, and it shows like this:
Traceback (most recent call last):
File "/usr/local/bin/docker-registry", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 2867, in <module>
working_set = WorkingSet._build_master()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 434, in _build_master
return cls._build_from_requirements(requires)
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 447, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/local/lib/python2.7/dist-packages/pkg_resources.py", line 622, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests==2.3.0