From 7b08aa78e4ede4c54fda6cd9917bb62e18d0d634 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 2 Jan 2018 16:29:43 -0600 Subject: 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 Closes: #179 Approved by: baude --- docs/podman-start.1.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/podman-start.1.md') diff --git a/docs/podman-start.1.md b/docs/podman-start.1.md index a6791127a..492787e6c 100644 --- a/docs/podman-start.1.md +++ b/docs/podman-start.1.md @@ -29,6 +29,9 @@ ctrl- where is one of: a-z, @, ^, [, , or _. Attach container's STDIN. The default is false. +**--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. ## EXAMPLE @@ -38,6 +41,8 @@ podman start 860a4b23 5421ab4 podman start -i -a 860a4b23 +podman start -i -l + ## SEE ALSO podman(1), podman-create(1) -- cgit v1.2.3-54-g00ecf