Skip to content

Commit

Permalink
docs: update docs on mirrors and registry map. (#3153)
Browse files Browse the repository at this point in the history
* docs: update docs on mirrors and registry map.

* Update README.md

---------

Co-authored-by: Aaron Prindle <aprindle@google.com>
  • Loading branch information
Djabx and aaron-prindle authored May 14, 2024
1 parent 7f365a6 commit c313123
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ Expected format is
`original-registry=remapped-registry[;another-reg=another-remap[;...]]` for
example.

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

- `index.docker.io=mirror.gcr.io`
Expand All @@ -1019,6 +1019,7 @@ are:
- `index.docker.io=docker-io.mirrors.corp.net;index.docker.io=mirror.gcr.io;gcr.io=127.0.0.1`
will try `docker-io.mirrors.corp.net` then `mirror.gcr.io` for
`index.docker.io` and `127.0.0.1` for `gcr.io`
- `docker.io=harbor.provate.io/theproject`

#### Flag `--registry-mirror`

Expand All @@ -1030,15 +1031,16 @@ the next mirror(s), and at the end fallback on the default registry.
Mirror can also be defined through `KANIKO_REGISTRY_MIRROR` environment
variable.

Expected format is `mirror.gcr.io` for example.
Expected format is `mirror.gcr.io` or `mirror.gcr.io/path` for example.

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

- `mirror.gcr.io`
- `127.0.0.1`
- `192.168.0.1:5000`
- `mycompany-docker-virtual.jfrog.io`
- `harbor.provate.io/theproject`

#### Flag `--skip-default-registry-fallback`

Expand Down

0 comments on commit c313123

Please sign in to comment.