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.
This commit is contained in:
zhouhaibing089 2020-12-08 16:04:19 -08:00 committed by GitHub
parent 9ed158c1f6
commit 83424ba1a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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`. 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 #### --reproducible