From d8fec8ec0a51e529c8390e1a19c4fd25c7b863b1 Mon Sep 17 00:00:00 2001 From: Paul Bourke Date: Wed, 2 Nov 2016 11:45:50 +0000 Subject: 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 --- tools/start-registry | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 tools/start-registry (limited to 'tools') 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 -- cgit v1.2.3