From: Elan Ruusamäe Date: Mon, 26 Sep 2016 18:41:33 +0000 (+0300) Subject: dockerd: example of registry mirror and insecure registry options X-Git-Tag: auto/th/docker-ce-17.06.1-1~25 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdocker-ce.git;a=commitdiff_plain;h=7851b976be23e2e88e94b0f35f38acb8cecb63f8 dockerd: example of registry mirror and insecure registry options --- 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"