Podman — Commands¶
Version and info¶
Check the installed Podman version:
Get general information about the Podman installation:
Images¶
Pull an image:
List images:
Running containers¶
Run a container from an image:
Give the container a custom name:
Run detached (in the background):
Publish a container's port to the host:
Listing containers¶
List running containers:
List all containers, including stopped ones:
Logs¶
View a container's logs:
Checkpoint and restore¶
Freeze and save ("checkpoint") a running container's state to disk:
Restore a container from a checkpoint — this only works for a container that was previously checkpointed:
See Migration for using checkpoint/restore to move a container between hosts.
Stopping and removing containers¶
Stop a container:
Remove a container: