LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

podman-ps

List containers and their status

TLDR

List running containers
$ podman ps
copy
List all containers
$ podman ps -a
copy
Show only IDs
$ podman ps -q
copy
Custom format output
$ podman ps --format "{{.Names}} {{.Status}}"
copy
Show latest container
$ podman ps -l
copy

SYNOPSIS

podman ps [options]

DESCRIPTION

podman ps lists containers managed by Podman, showing container ID, image, command, creation time, status, ports, and names. By default, only running containers are shown; use -a to include stopped containers.The --format option accepts Go templates for custom output formatting. Use -q for just container IDs (useful for scripting), -l for the most recently created container, and -n to limit to the last N containers. Docker ps compatible.

PARAMETERS

-a, --all

Show all containers.
-q, --quiet
Only show IDs.
-l, --latest
Show latest container.
--format FORMAT
Output format template.
-n N
Show last N containers.
--no-trunc
Don't truncate output.

INSTALL

sudo apt install podman
copy
sudo dnf install podman
copy
sudo pacman -S podman
copy
sudo apk add podman
copy
sudo zypper install podman
copy
brew install podman
copy
nix profile install nixpkgs#podman
copy

CAVEATS

Only shows podman containers. Docker-compatible output.

HISTORY

podman ps provides container listing functionality.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid