Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


Podman

Podman is a utility provided as part of the libpod library. It can be used to create and maintain containers.

Reference(s)

Table of contents


Install

# apt add podman
# apt install podman
# dnf install podman
# emerge -a app-containers/podman
# nix-env -iA nixos.podman
# nix-env -iA nixpkgs.podman
# pacman -S podman
# yum install podman
# xbps-install -S podman
# zypper install podman

Config

Configuration files for configuring how containers behave are located at /usr/share/containers/. You must copy necessary files to /etc/containers before edit. To configure the network bridge interface used by Podman see /etc/cni/net.d/87-podman-bridge.conflist.

# /etc/containers/registries.conf
[[registry]]
location = "docker.io"

[[registry]]
location = "registry.fedoraproject.org"

[[registry]]
location = "registry.access.redhat.com"

Use

$ podman info

TODO

Troubleshooting


If this cheat sheet has been useful to you, then please consider leaving a star here.