15 Podman Command Reference

The following list includes the podman command subcommands.

Each of the listed commands is linked to a manual page that follows the podman-command(1) pattern. For example, to retrieve information about the attach command, see the podman-attach(1) manual page. For a full list of all the documentation available for Podman, see the podman(1) manual page. You can also use the podman help command to get more information on the command syntax.

artifact

Manage Open Container Initiative artifacts. Not available on Oracle Linux 8 hosts.

attach

Attach to the shell of a running container.

auto-update

Automatically update containers with automatic updating enabled.

build

Build an image from a Containerfile.

commit

Create an image based on an edited container.

compose

Run compose workloads using an external provider such as docker-compose or podman-compose.

container

Manage existing containers.

cp

Copy files and folders between the container and host file system.

create

Create a container without starting it.

diff

View changes on the container's file system.

events

Show Podman event logs for the running container.

exec

Run a process in a specified container that's already running.

export

Export a container's file system and contents to a compressed archive.

farm

Farm out builds to remove machines that Podman can connect to using a system connection.

generate

Generate systemd unit files and pod YAML files.

healthcheck

Run a health check on an existing container.

history

Review the history of a specified image.

image

Manages existing images.

images

Lists images present on the host system.

import

Import a compressed archive to create a container file system.

info

Show system information for Podman.

init

Initialize one or more containers.

inspect

Display the existing configuration values for a container or image.

kill

Stop running containers with a predefined signal.

kube

Generate, and play containers, pods, or volumes using a structured Kubernetes compliant YAML file.

load

Load an image from a container archive file.

login

Sign in to a container registry.

logout

Sign out of a container registry.

logs

Review logs for a container.

machine

Manage a virtual machine.

manifest

Create and edit manifest lists and image indexes.

mount

Mount a running container's root file system.

network

Manage networks that are accessible to containers.

pause

Suspend all the processes in one or more containers.

play

Start containers, pods, or volumes from a structured file.

pod

Create and manage pods.

port

List network port mappings for a container.

ps

List containers.

pull

Pull an image from a container registry.

push

Push an image to a container registry.

rename

Rename an existing container.

restart

Restart one or more containers.

rm

Remove one or more containers.

rmi

Remove one or more images from local storage on the host system.

run

Run a single command in a new container.

save

Save an image to a compressed archive.

search

Search a container registry for an image.

secret

Manage secrets.

start

Start one or more containers.

stats

Display a real time stream of container resource usage statistics.

stop

Stop one or more containers.

system

Manage Podman configuration settings.

tag

Add another name to an image in local storage on the host system.

top

Display the running processes for a container.

unmount

Unmount a running container's root file system.

unpause

Resume all processes for one or more containers.

unshare

Run a command as a specified user.

untag

Remove a secondary name from an image in local storage on the host system.

update

Update an existing container.

version

Show version information for Podman.

volume

Manage container storage volumes.

wait

Block processes on one or more containers until a specified condition is fulfilled.