Created
August 1, 2014 04:55
-
-
Save tokida/29162ffdda40c98bb5ac to your computer and use it in GitHub Desktop.
Docker registry with swift driver
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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