LinuxCommandLibrary

podman

TLDR

Run a container

$ podman run [image]
copy
List running containers
$ podman ps
copy
List all containers
$ podman ps -a
copy
Pull an image
$ podman pull [image]
copy
Build from Dockerfile
$ podman build -t [tag] [path]
copy
Stop a container
$ podman stop [container]
copy
Remove a container
$ podman rm [container]
copy

SYNOPSIS

podman [options] command [args]

DESCRIPTION

podman is a daemonless container engine. Docker-compatible CLI.
The tool manages containers without root. OCI-compliant runtime.
podman runs containers.

PARAMETERS

run

Run a container.
ps
List containers.
pull
Pull an image.
build
Build image from Containerfile.
stop
Stop container.
rm
Remove container.
images
List images.
exec
Execute in container.
-d, --detach
Run in background.

CAVEATS

Rootless by default. Docker CLI compatible.

HISTORY

Podman was created by Red Hat as a daemonless Docker alternative.

SEE ALSO

docker(1), buildah(1), skopeo(1)

Copied to clipboard