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;
defaultNetwork.dnsname.enable = true;
};
virtualisation.docker = {
autoPrune = {
enable = true;
dates = "weekly";
};
daemon.settings = {
insecure-registries = [ "docker02.bedum.horus.nu:5000" "yocto-build-server.bedum.horus.nu:5000" ];
# virtualisation.docker = {
# autoPrune = {
# enable = true;
# dates = "weekly";
# };
virtualisation.containers = {
registries = {
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"
];
};
};