summaryrefslogtreecommitdiff
path: root/tools/start-registry
diff options
context:
space:
mode:
authorPaul Bourke <paul.bourke@oracle.com>2016-11-02 11:45:50 +0000
committerPaul Bourke <paul.bourke@oracle.com>2016-11-15 12:52:37 +0000
commitd8fec8ec0a51e529c8390e1a19c4fd25c7b863b1 (patch)
tree317b2545ce8db349da4dbea55e5f22da81995a99 /tools/start-registry
parent0d5407d55ee2aa96a4cbeea25ae252e11c660371 (diff)
downloadkolla-d8fec8ec0a51e529c8390e1a19c4fd25c7b863b1.tar.gz
kolla-d8fec8ec0a51e529c8390e1a19c4fd25c7b863b1.zip
Clean up docs around local registry
* Remove duplicated info between the 'image-building' and 'multinode' guides regarding deploying a local insecure registry. * Add a helper script to easily start a local registry in a consistent way. * Remove warnings around bugs in older registries, 2.3+ is now the default * Remove references to running the local registry on port 4000, this causes confusion as Docker expects port 5000 by default unless specified, and registries are not required for all-in-one deployments anyhow. TrivialFix Change-Id: I89f231df09102e3f1d5f21c8a8ca938ea60ae95b
Diffstat (limited to 'tools/start-registry')
-rwxr-xr-xtools/start-registry8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/start-registry b/tools/start-registry
new file mode 100755
index 000000000..7c29e13a1
--- /dev/null
+++ b/tools/start-registry
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+docker run -d \
+ --name registry \
+ --restart=always \
+ -p 5000:5000 \
+ -v registry:/var/lib/registry \
+ registry:2