For the complete documentation index, see llms.txt. This page is also available as Markdown.

Target last container

podman remembers the last container used in any command. To target it again without referencing a container name or id, use the -l flag:

$ podman inspect hello-world
$ podman exec -l ls /tmp

Last updated