mirror of
https://github.com/containers/podman.git
synced 2025-06-01 01:00:22 +08:00

After pulling/creating an image of a foreign platform, Podman will happily use it when looking it up in the local storage and will not pull down the image matching the host platform. As discussed in #12682, the reasoning for it is Docker compatibility and the fact that user already rely on the behavior. While Podman is now emitting a warning when an image is in use not matching the local platform, the documentation was lacking that information. Fixes: #15300 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
6 lines
333 B
Markdown
6 lines
333 B
Markdown
#### **--platform**=*OS/ARCH*
|
|
|
|
Specify the platform for selecting the image. (Conflicts with --arch and --os)
|
|
The `--platform` option can be used to override the current architecture and operating system.
|
|
Unless overridden, subsequent lookups of the same image in the local storage will match this platform, regardless of the host.
|