Skip to content

Instantly share code, notes, and snippets.

@tokida
Created August 1, 2014 04:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokida/29162ffdda40c98bb5ac to your computer and use it in GitHub Desktop.
Save tokida/29162ffdda40c98bb5ac to your computer and use it in GitHub Desktop.
Docker registry with swift driver
# start from a registry release known to work
FROM registry:0.7.3
# get the swift driver for the registry
RUN pip install docker-registry-driver-swift==0.0.1
# SoftLayer uses v1 auth and the sample config doesn't have an option
# for it so inject one
RUN sed -i '91i swift_auth_version: _env:OS_AUTH_VERSION' /docker-registry/config/config_sample.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment