Podman is a container management tool that is compliant with the Open Container Initiative spec.
Podmans basic usage emulates the Docker CLI:
podman run -dt -p 8080:80/tcp docker.io/library/httpd
The podman-docker package can setup Podman to emulate the Docker api and socket.
podman-docker
Podman desktop is a replacement for Docker desktop
SELinux is a kernel security module that implements for more in-depth access control mechanisms.
SELinux adds adittional contexts to files / folders that can cause permission issues for containers.
:z
systemd can manage automatically starting and stopping containers using systemd unit files.
Quadlets are files that are used to generate systemd services from a Podman container.
~/.config/containers/systemd/sleep.container
[Unit] # Description for the unit file Description=The sleep container # Dependencies before container can be ran After=local-fs.target [Container] # Image Image=registry.access.redhat.com/ubi9-minimal:latest # Command Exec=sleep 1000 [Install] # Start by default on boot WantedBy=multi-user.target default.target
note:
OCI compliance means it can run docker containers and emulates the same UI.
Podman is developed by redhat
There are many configuration options, including for creating volumes, networks, containers, pods, and kube files