This commit is contained in:
Jonas Forsberg
2021-09-26 12:11:06 +02:00
parent 125c652cc4
commit 8972d83800
8 changed files with 94 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
unqualified-search-registries = ["registry.opensuse.org", "docker.io"]
[[registry]]
prefix = "docker.io"
location = "docker.io"
insecure = false
blocked = false
[[registry.mirror]]
location = "localhost:5000"
insecure = true

View File

@@ -0,0 +1,11 @@
Install podman:
pkg.installed:
- name: podman
Configure local registry repository:
file.managed:
- name: /etc/containers/registries.conf
- source: salt://podman/files/registries.conf
- user: root
- group: root
- mode: "0644"