cancel
Showing results for 
Search instead for 
Did you mean: 
cstauss1
Mission Specialist
Mission Specialist
  • 1,046 Views

Controlling registry search order

What is the best way to control the order in which registries are searched? (Podman search, etc) Is it necessary to edit container-registries.conf?

 

Thanks

Labels (1)
0 Kudos
2 Replies
mighty_quinn
Mission Specialist
Mission Specialist
  • 1,033 Views

On my host the file is called registries.conf found at /etc/containers/. AFAIK podman searches for images in the registries listed in the file in the order they appear. Reorder the registry entries in the registries.conf  file to change the order. 

cstauss1
Mission Specialist
Mission Specialist
  • 1,029 Views

Thanks- yes - that's the correct file name. I just wanted. to make sure that's the best procedure vs doing something on the command line

0 Kudos
Join the discussion
You must log in to join this conversation.