Getting Started documentation uses podman inspect -l, but the option is not available in Podman 6.0.1
Issue Description
While following the official Getting Started documentation, I noticed that it uses the command:
podman inspect -l
Steps to reproduce the issue
Steps to reproduce the issue
- Install Podman v6.0.1.
- Follow the official Getting Started guide.
- Run:
podman inspect -l
- Observe that the command fails.
Describe the results you received
The command fails with:
Error: unknown shorthand flag: 'l' in -l
See 'podman inspect --help'
### Describe the results you expected
Either:
- the documentation should use the currently supported command, or
- if `-l` is still intended to be supported, the command should work as documented.
### podman info output
```yaml
If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
- macOS 26.5.2
- Apple Silicon
Additional information
The outdated command appears on the official Getting Started documentation page.
Documentation page: https://podman.io/docs
If this is intentional for an older version of Podman, it may be helpful to clarify the version the documentation applies to.
/assign
The documenation says:
Note: The -l is a convenience argument for latest container. Instead of this short argument, you can also use the container's ID, container's name or the long argument (--latest). Note: If you are running remote Podman client, including Mac and Windows (excluding WSL2) machines, the -l option is not available.
The command is only available on Linux (podman), not on other platforms (podman-remote)
- #7127
$ podman inspect --latest
[]
Error: no containers to inspect: no such container
$ podman-remote inspect --latest
Error: unknown flag: --latest
See 'podman-remote inspect --help'
I agree that this is clearly documented. Closing this, please feel free to reopen if you think there's more to be done.