Score:0

Change default docker registry in Openshift 4.7

kh flag

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

moonkotte avatar
in flag
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.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.