docs: update docs on mirrors and registry map. (#3153)
* docs: update docs on mirrors and registry map. * Update README.md --------- Co-authored-by: Aaron Prindle <aprindle@google.com>
This commit is contained in:
parent
7f365a644a
commit
c3131238c4
|
|
@ -1010,7 +1010,7 @@ Expected format is
|
||||||
`original-registry=remapped-registry[;another-reg=another-remap[;...]]` for
|
`original-registry=remapped-registry[;another-reg=another-remap[;...]]` for
|
||||||
example.
|
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:
|
are:
|
||||||
|
|
||||||
- `index.docker.io=mirror.gcr.io`
|
- `index.docker.io=mirror.gcr.io`
|
||||||
|
|
@ -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`
|
- `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
|
will try `docker-io.mirrors.corp.net` then `mirror.gcr.io` for
|
||||||
`index.docker.io` and `127.0.0.1` for `gcr.io`
|
`index.docker.io` and `127.0.0.1` for `gcr.io`
|
||||||
|
- `docker.io=harbor.provate.io/theproject`
|
||||||
|
|
||||||
#### Flag `--registry-mirror`
|
#### Flag `--registry-mirror`
|
||||||
|
|
||||||
|
|
@ -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
|
Mirror can also be defined through `KANIKO_REGISTRY_MIRROR` environment
|
||||||
variable.
|
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:
|
are:
|
||||||
|
|
||||||
- `mirror.gcr.io`
|
- `mirror.gcr.io`
|
||||||
- `127.0.0.1`
|
- `127.0.0.1`
|
||||||
- `192.168.0.1:5000`
|
- `192.168.0.1:5000`
|
||||||
- `mycompany-docker-virtual.jfrog.io`
|
- `mycompany-docker-virtual.jfrog.io`
|
||||||
|
- `harbor.provate.io/theproject`
|
||||||
|
|
||||||
#### Flag `--skip-default-registry-fallback`
|
#### Flag `--skip-default-registry-fallback`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue