[packages/docker] dockerd: example of registry mirror and insecure registry options

glen glen at pld-linux.org
Mon Sep 26 20:41:40 CEST 2016


commit 7851b976be23e2e88e94b0f35f38acb8cecb63f8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Sep 26 21:41:33 2016 +0300

    dockerd: example of registry mirror and insecure registry options

 docker.sysconfig | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/docker.sysconfig b/docker.sysconfig
index 16aa9a0..8ac1cf7 100644
--- a/docker.sysconfig
+++ b/docker.sysconfig
@@ -11,3 +11,6 @@ SERVICE_LIMITS="-n 1048576 -u 1048576"
 
 # Use overlay storage driver
 #OPTIONS="$OPTIONS --storage-driver=overlay"
+
+# Mirror local registry in intranet which has no ssl cert
+#OPTIONS="$OPTIONS --insecure-registry registry.example.lan:5000 --registry-mirror http://registry.example.lan:5000"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/docker.git/commitdiff/7851b976be23e2e88e94b0f35f38acb8cecb63f8



More information about the pld-cvs-commit mailing list