Last updated 3 years ago
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
-l
$ podman inspect hello-world $ podman exec -l ls /tmp