Make insecure registries work for podman

This commit is contained in:
Erwin Boskma 2022-11-11 20:40:08 +01:00
parent 55b4d354c8
commit 8eccd39ca4
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU

View file

@ -18,14 +18,21 @@ in
dockerCompat = true; dockerCompat = true;
defaultNetwork.dnsname.enable = true; defaultNetwork.dnsname.enable = true;
}; };
virtualisation.docker = { # virtualisation.docker = {
autoPrune = { # autoPrune = {
enable = true; # enable = true;
dates = "weekly"; # dates = "weekly";
}; # };
virtualisation.containers = {
daemon.settings = { registries = {
insecure-registries = [ "docker02.bedum.horus.nu:5000" "yocto-build-server.bedum.horus.nu:5000" ]; insecure = [ "docker02.bedum.horus.nu:5000" "yocto-build-server.bedum.horus.nu:5000" "containers.internal.horus.nu" ];
search = [
"docker.io"
"quay.io"
"docker02.bedum.horus.nu:5000"
"yocto-build-server.bedum.horus.nu:5000"
"containers.internal.horus.nu"
];
}; };
}; };