0

How can I change default docker image registry in Openshift ? I already modified /etc/containers/registries.conf in workers and master nodes and put something like this but it didn't work.

[[registry]]
prefix = "my_private_registry.com"
location = "my_private_registry.com"
insecure = false

How can I change the default repo? Thank you

BMitch
  • 5,189
  • 1
  • 21
  • 30
  • Did you edit this file directly? You should do it via `oc edit image.config.openshift.io/cluster`. See [Configuring image registry settings](https://docs.openshift.com/container-platform/4.7/openshift_images/image-configuration.html#images-configuration-file_image-configuration). Let me know if this helps. – moonkotte Jan 05 '22 at 09:16

0 Answers0