-
Hello, I am trying to configure Podman to block all registries by default using the registries.conf file. My goal is to prevent Podman from pulling images from any registry unless explicitly allowed. Here's what I have tried so far:
Unfortunately, this configuration does not block any registries. |
Beta Was this translation helpful? Give feedback.
Answered by
Tinkotsu
Jun 29, 2024
Replies: 1 comment 1 reply
-
I found policy.json configuration. Is this the correct way to isolate podman from the internet to keep registries.conf empty and configure policy.json like this? policy.json |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Tinkotsu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found policy.json configuration. Is this the correct way to isolate podman from the internet to keep registries.conf empty and configure policy.json like this?
policy.json
{ "default": [ { "type": "reject" } ] }