Switch over to Podman

This commit is contained in:
Gene Liverman 2024-04-08 09:12:50 -04:00
parent bd2e1a3be6
commit 6940d4d796

View file

@ -28,6 +28,8 @@
jellyfin-web jellyfin-web
net-snmp net-snmp
nginx nginx
podman-compose
podman-tui # status of containers in the terminal
yt-dlp yt-dlp
]; ];
@ -171,11 +173,19 @@
users.users.${username} = { users.users.${username} = {
isNormalUser = true; isNormalUser = true;
description = "Gene Liverman"; description = "Gene Liverman";
extraGroups = [ "docker" "networkmanager" "wheel" ]; extraGroups = [ "podman" "networkmanager" "wheel" ];
packages = with pkgs; [
docker-compose
];
}; };
virtualisation.docker.enable = true; # Enable common container config files in /etc/containers
virtualisation.containers.enable = true;
virtualisation.oci-containers.backend = "podman";
virtualisation.podman = {
enable = true;
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
} }