jolly-tailor-68729
05/26/2023, 5:21 PM.dockerconfigjson
secret and use imagePullSecrets
on each of the deployments.
This is what FAQ says to do.
# saved as e.g. $HOME/registries.yaml
configs:
"<http://docker.io|docker.io>":
auth:
username: "$USERNAME"
password: "$PASSWORD"
I have a k3d config yaml
registries:
create:
name: registry.local
hostPort: "9000"
config: |
mirrors:
<http://docker.io|docker.io>:
endpoint:
- "<http://host.k3d.internal:6000>"
configs:
"<http://docker.io|docker.io>":
auth:
username: "myusername"
password: "mypassword"
I have a registry mirror at localhost:6000
in Docker Engine (Docker Desktop).