better docker support
This commit is contained in:
parent
1f3b9983d6
commit
f1e4d7834f
1 changed files with 4 additions and 1 deletions
|
@ -28,8 +28,11 @@ in
|
||||||
dns_enabled = true;
|
dns_enabled = true;
|
||||||
ipv6_enabled = true;
|
ipv6_enabled = true;
|
||||||
};
|
};
|
||||||
|
# answer on /var/run/docker.sock
|
||||||
|
dockerSocket.enable = true;
|
||||||
};
|
};
|
||||||
oci-containers.backend = lib.mkIf cfg.usePodman "podman";
|
docker.enable = lib.mkIf (!cfg.usePodman) true;
|
||||||
|
oci-containers.backend = lib.mkIf (!cfg.usePodman) "docker";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue