Podman Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Installation

Mac

brew install podman

Linux

dnf install -y podman && dnf clean all
podman --version

Version

podman --version

VM Initialization

https://docs.podman.io/en/latest/markdown/podman-machine-init.1.html#

Podman on MacOS requires a virtual machine. This is because containers must run with a Linux kernel, and the Podman virtual machine provides that kernel.

podman machine init

initializes a new Linux VM where the containers are run.

For more details, see

Podman Virtual Machine

VM Startup

https://docs.podman.io/en/latest/markdown/podman-machine-start.1.html

Once the VM is initialized, it must be stared with:

podman machine start

Build Container Images

Build Container Images with podman