Podman: Difference between revisions
imported>Nrabulinski m Removed a comment which depicted the same snipped that's already present |
Malteneuss (talk | contribs) m Align with old Wiki |
||
| Line 3: | Line 3: | ||
== Install and configure podman with NixOS service configuration == | == Install and configure podman with NixOS service configuration == | ||
< | <syntaxhighlight lang="nix"> | ||
{ pkgs, ... }: | { pkgs, ... }: | ||
{ | { | ||
# Enable common container config files in /etc/containers | |||
virtualisation.containers.enable = true; | |||
virtualisation = { | virtualisation = { | ||
podman = { | podman = { | ||
| Line 17: | Line 19: | ||
}; | }; | ||
}; | }; | ||
# Useful other development tools | |||
environment.systemPackages = with pkgs; [ | |||
dive # look into docker image layers | |||
podman-tui # status of containers in the terminal | |||
#docker-compose # start group of containers for dev | |||
podman-compose # start group of containers for dev | |||
]; | |||
} | } | ||
</ | </syntaxhighlight> | ||
=== podman-compose === | === podman-compose === | ||