From 276818ab8b053c990c01c0d01b8801f1eec0fced Mon Sep 17 00:00:00 2001 From: Wenkai Yin Date: Wed, 23 Mar 2016 14:38:55 +0800 Subject: [PATCH] explain why users need to set --insecure-registry option --- docs/user_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user_guide.md b/docs/user_guide.md index c5a075b2a..f1b8cc1bb 100755 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -75,7 +75,7 @@ Administrator can add "SysAdmin" role to an ordinary user by toggling the switch **NOTE: Harbor only supports Registry V2 API. You need to use Docker client 1.6.0 or higher.** -If you encounter an error as below when you pull or push images, you need to add '--insecure-registry' option to /etc/default/docker (ubuntu) or /etc/sysconfig/docker (centos): +Harbor supports HTTP by default and Docker client trys to connect to Harbor using HTTPS first, so if you encounter an error as below when you pull or push images, you need to add '--insecure-registry' option to /etc/default/docker (ubuntu) or /etc/sysconfig/docker (centos): *FATA[0000] Error response from daemon: v1 ping attempt failed with error: Get https://myregistrydomain.com:5000/v1/_ping: tls: oversized record received with length 20527. If this private registry supports only HTTP or HTTPS with an unknown CA certificate,please add