added podman as the oci-runtime
This commit is contained in:
@@ -1,11 +1,15 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
virtualisation.podman = {
|
virtualisation = {
|
||||||
enable = true;
|
oci-containers.backend = "podman";
|
||||||
|
containers.registries.search = [ "docker.io" ];
|
||||||
|
podman = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
dockerCompat = true;
|
dockerCompat = true;
|
||||||
defaultNetwork.settings.dns_enabled = true;
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# For rootless containers
|
# For rootless containers
|
||||||
|
|||||||
Reference in New Issue
Block a user