From c8aca239b1335509d90b52c2f50cdf7822b641bd Mon Sep 17 00:00:00 2001 From: Henri Gomez Date: Thu, 23 Apr 2015 09:55:48 +0200 Subject: [PATCH] describe 3 registry containers Signed-off-by: Henri Gomez --- contrib/apache.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/contrib/apache.conf b/contrib/apache.conf index 444c0870..fab1b16b 100644 --- a/contrib/apache.conf +++ b/contrib/apache.conf @@ -10,6 +10,16 @@ # Docker Registry 1.0 in Hosting mode : port 5001 # Docker Registry 2.0 in Hosting mode : port 5002 # +# Mirror : +# docker run -d -e SETTINGS_FLAVOR=dev -v /var/lib/docker-registry/storage/hosting-v1:/tmp -p 5000:5000 registry:0.9.1" +# +# Registry v1 : +# docker run -d -e SETTINGS_FLAVOR=dev -e STANDALONE=false -e MIRROR_SOURCE=https://registry-1.docker.io -e MIRROR_SOURCE_INDEX=https://index.docker.io \ +# -e MIRROR_TAGS_CACHE_TTL=172800 -v /var/lib/docker-registry/storage/mirror:/tmp -p 5001:5000 registry:0.9.1" +# +# Registry v2 : +# docker run -d -e SETTINGS_FLAVOR=dev -v /var/lib/axway/docker-registry/storage/hosting2-v2:/tmp -p 5002:5000 registry:2.0" +# # For Hosting mode : #  # users should have account (valid-user) to be able to fetch images