mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Shortcut for most recent container
It is desirable to have a shortcut for the most recently created container. We can now use "**latest" to represent the most recent container instead of its container ID or name. For example: Signed-off-by: baude <bbaude@redhat.com> Closes: #179 Approved by: baude
This commit is contained in:
@ -21,6 +21,10 @@ Return data on items of the specified type. Type can be 'container', 'image' or
|
||||
|
||||
Format the output using the given Go template
|
||||
|
||||
**--latest, -l**
|
||||
Instead of providing the container name or ID, use the last created container. If you use methods other than Podman
|
||||
to run containers such as CRI-O, the last started container could be from either of those methods.
|
||||
|
||||
**--size**
|
||||
|
||||
Display the total file size if the type is a container
|
||||
|
Reference in New Issue
Block a user