Skip to content

Instantly share code, notes, and snippets.

@chilicat
Created November 12, 2013 13:06
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 chilicat/7430486 to your computer and use it in GitHub Desktop.
Save chilicat/7430486 to your computer and use it in GitHub Desktop.
Simple script to start the openstack docker registry
#!/bin/sh
source ./keystone_adminrc
echo ${OS_USERNAME}
echo ${OS_PASSWORD}
docker run -d -p 5042:5000 \
-e SETTINGS_FLAVOR=openstack \
-e OS_USERNAME=${OS_USERNAME} \
-e OS_PASSWORD=${OS_PASSWORD} \
-e OS_TENANT_NAME=${OS_TENANT_NAME} \
-e OS_GLANCE_URL="http://10.129.184.9:9292" \
-e OS_AUTH_URL=${OS_AUTH_URL} \
docker-registry ./docker-registry/run.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment