github.com/containers/podman/v5@v5.1.0-rc1/docs/source/markdown/options/latest.md (about)

     1  ####> This option file is used in:
     2  ####>   podman attach, container diff, container inspect, diff, exec, init, inspect, kill, logs, mount, network reload, pause, pod inspect, pod kill, pod logs, pod rm, pod start, pod stats, pod stop, pod top, port, restart, rm, start, stats, stop, top, unmount, unpause, wait
     3  ####> If file is edited, make sure the changes
     4  ####> are applicable to all of those.
     5  #### **--latest**, **-l**
     6  
     7  Instead of providing the <<container|pod>> name or ID, use the last created <<container|pod>>.
     8  Note: the last started <<container|pod>> can be from other users of Podman on the host machine.
     9  (This option is not available with the remote Podman client, including Mac and Windows
    10  (excluding WSL2) machines)