This message was deleted.
# rke2
a
This message was deleted.
a
Copy code
mirrors:
  my-private-registry:
    endpoint:
      - "<https://private.registry.url>"
   docker.io:
     endpoint:
      - "<https://private.registry.url>"
      - "<https://registry-1.docker.io/v2>"
Would that be a correct setup for what I'm trying to get at?
c
Yep
You don't need to list the default endpoint. It is always tried last, even if not implicitly listed
So, you could drop the first mirrors entry entirely, and drop the second endpoint for docker.io
a
Copy code
mirrors:
   <http://docker.io|docker.io>:
     endpoint:
      - "<https://private.registry.url>"
So that would do then?
c
Yep
a
I vaguely recall a behaviour of containerd config.toml where this type of config replaced rather then amended other custom config one might do
Does that ring a bell?
(also thanks for the help! 🙏)
c
I'm not sure what you mean
a
I'm sure I can dig it out with some google-fu.
Btw - the registry configuration is not disallowing other registries that might be used right? So I'm not blocking out gcr or quay etc
c
nope
a
Thanks Brandon 👏