initial commit
This commit is contained in:
commit
ebc1be5217
143 changed files with 7721 additions and 0 deletions
34
modules/features/containers-podman.nix
Normal file
34
modules/features/containers-podman.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
{ ... }:
|
||||
{
|
||||
config.dendritic.features.containers-podman = {
|
||||
nixosModules = [
|
||||
(
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation = {
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||
dockerCompat = true;
|
||||
|
||||
# Required for containers under podman-compose to be able to talk to each other.
|
||||
defaultNetwork.settings.dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
buildah # Tool for building OCI (Open Container Initiative) and Docker container images.
|
||||
distrobox # Lightweight utility for running Linux distributions in containers.
|
||||
dive # A tool for exploring a Docker image, allowing inspection of layer contents.
|
||||
grype # A vulnerability scanner for container images and filesystems.
|
||||
hadolint # Dockerfile linter to analyze and enforce best practices in containerization.
|
||||
podman-compose # Podman plugin for managing multi-container applications.
|
||||
podman-tui # Text-based user interface (TUI) for Podman, facilitating container management.
|
||||
syft # Open-source tool for scanning and analyzing container images for software composition and vulnerabilities.
|
||||
];
|
||||
}
|
||||
)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue