Forrest logo
back to the podman tool

podman-ps:tldr:5d9bc

podman-ps: Show the latest created container (includes all states).
$ podman ps --latest
try on your machine

The command podman ps --latest is used to display the most recently created or started containers using Podman.

Here's a breakdown of the command:

  • podman: This is the command-line interface for managing containers and container images using Podman. It is an alternative to Docker.
  • ps: This subcommand is used to list and display information about containers.
  • --latest: This is an option or flag that is used to filter the containers and display only the most recently created or started containers. It is particularly useful when you have multiple containers running and you want to quickly see the ones that were recently created or started.

When you run the podman ps --latest command, Podman will list the most recently created or started containers along with relevant information such as their container ID, image, command, status, and uptime.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the podman tool