Skip to content

Commit

Permalink
doc: clarify the format of --registry-mirror
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
zhouhaibing089 committed Nov 24, 2020
1 parent 9ed158c commit f6fb8cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f6fb8cd

Please sign in to comment.