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
Was this helpful?
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
Was this helpful?