Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Commit 83424ba

Browse files
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.
1 parent 9ed158c commit 83424ba

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,11 @@ Expected format is `my.registry.url=/path/to/the/certificate.cert`
654654

655655
Set this flag if you want to use a registry mirror instead of default `index.docker.io`.
656656

657+
Note that you can't specify a URL with scheme for this flag. Some valid options are:
657658

659+
* `mirror.gcr.io`
660+
* `127.0.0.1`
661+
* `192.168.0.1:5000`
658662

659663
#### --reproducible
660664

0 commit comments

Comments
 (0)