From 83424ba1a1f69666d1dd5da965cf978ffc799f13 Mon Sep 17 00:00:00 2001 From: zhouhaibing089 Date: Tue, 8 Dec 2020 16:04:19 -0800 Subject: [PATCH] doc: clarify the format of --registry-mirror (#1504) In the context of Docker Hub ratelimit, registry mirror has been applied more and more. It's very unfortunate that kaniko doesn't take the same form as docker/containerd. The registry mirror shouldn't have scheme like `https://` included. This is not explicitly described in the doc. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 823d692c5..1f0543c84 100644 --- a/README.md +++ b/README.md @@ -654,7 +654,11 @@ Expected format is `my.registry.url=/path/to/the/certificate.cert` Set this flag if you want to use a registry mirror instead of default `index.docker.io`. +Note that you can't specify a URL with scheme for this flag. Some valid options are: +* `mirror.gcr.io` +* `127.0.0.1` +* `192.168.0.1:5000` #### --reproducible