aboutsummaryrefslogtreecommitdiff
path: root/tools/start-registry
diff options
context:
space:
mode:
authorMatt McEuen <mm9745@att.com>2016-12-21 17:18:07 -0600
committerMatt McEuen <mm9745@att.com>2017-01-06 19:48:58 +0000
commit19b0defb9220ff55e16f857dd6741b7e16a44bc7 (patch)
treec412236d1f8c75123c9029b2d150cfba942dec50 /tools/start-registry
parentfaea5b91141406c82bd2e029da9aeeb9afa8a200 (diff)
downloadkolla-19b0defb9220ff55e16f857dd6741b7e16a44bc7.tar.gz
kolla-19b0defb9220ff55e16f857dd6741b7e16a44bc7.zip
Configure local registries to proxy docker hub
Added the REGISTRY_PROXY_REMOTEURL parameter to the registry creation script, so that the registry will mirror images from Docker Hub (while still being able to host custom-built images). Updated the Multinode guide to reflect this. Change-Id: Ib789241fd2947b06fb0dc5732a0bf28431e1403d Closes-Bug: #1647436
Diffstat (limited to 'tools/start-registry')
-rwxr-xr-xtools/start-registry1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/start-registry b/tools/start-registry
index 7c29e13a1..cb9715149 100755
--- a/tools/start-registry
+++ b/tools/start-registry
@@ -5,4 +5,5 @@ docker run -d \
--restart=always \
-p 5000:5000 \
-v registry:/var/lib/registry \
+ -e REGISTRY_PROXY_REMOTEURL=https://registry-1.docker.io \
registry:2