Last active
January 3, 2016 16:18
-
-
Save chilicat/8488099 to your computer and use it in GitHub Desktop.
Docker registry for openstack-swift mode
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
docker run -i -t -p 5042:5000 \ | |
-e SETTINGS_FLAVOR=openstack-swift \ | |
-e OS_USERNAME=${OS_USERNAME} \ | |
-e OS_PASSWORD=${OS_PASSWORD} \ | |
-e OS_TENANT_NAME=${OS_TENANT_NAME} \ | |
-e OS_GLANCE_URL=${OS_GLANCE_URL} \ | |
-e OS_AUTH_URL=${OS_AUTH_URL} \ | |
-e OS_REGION_NAME=${OS_REGION_NAME} \ | |
-e SWIFT_CONTAINER=${SWIFT_CONTAINER} \ | |
docker-registry |
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
myIp=192.168.2.1 | |
export OS_USERNAME=admin | |
export OS_TENANT_NAME=admin | |
export OS_PASSWORD=password | |
export OS_AUTH_URL=http://${myIp}:35357/v2.0/ | |
export OS_REGION_NAME=RegionOne | |
export SWIFT_CONTAINER=docker-registry | |
export OS_GLANCE_URL=http://${myIp}:9292 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment