brief-ability-87157
05/11/2022, 12:55 AM--registry-config
flag.big-librarian-12753
05/11/2022, 1:54 AM[...]
$ cat >~/.k3d/registries.yaml <<EOF
mirrors:
"registry.localhost:5000":
endpoint:
- "<http://registry.localhost:5000|http://registry.localhost:5000>"
[...]
$ k3d cluster create ... -v ~/.k3d/registries.yaml:/etc/rancher/k3s/registries.yaml
• I use above for connecting to a docker registry container however above can be expanded to use private registry with creds and tls etc
• And I didn't grok enough to find other ways as above worked for me 😅