summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-08-22 14:53:57 +0200
committerValentin Rothberg <vrothberg@redhat.com>2022-08-22 16:38:20 +0200
commitfbe2bd87b0581bdd1651689b9b8a01d0d5116517 (patch)
tree16c4a507dee40777af0dafb3e89536b28f4ee765 /docs/source/markdown/options
parent351028b1ac87851fc084b8b5e09eb80660e6bb5a (diff)
downloadpodman-fbe2bd87b0581bdd1651689b9b8a01d0d5116517.tar.gz
podman-fbe2bd87b0581bdd1651689b9b8a01d0d5116517.tar.bz2
podman-fbe2bd87b0581bdd1651689b9b8a01d0d5116517.zip
[CI:DOCS] elaborate on image lookups of foreign platforms
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>
Diffstat (limited to 'docs/source/markdown/options')
-rw-r--r--docs/source/markdown/options/arch.md1
-rw-r--r--docs/source/markdown/options/platform.md1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/options/arch.md b/docs/source/markdown/options/arch.md
index 005197707..76fb349a0 100644
--- a/docs/source/markdown/options/arch.md
+++ b/docs/source/markdown/options/arch.md
@@ -1,2 +1,3 @@
#### **--arch**=*ARCH*
Override the architecture, defaults to hosts, of the image to be pulled. For example, `arm`.
+Unless overridden, subsequent lookups of the same image in the local storage will match this architecture, regardless of the host.
diff --git a/docs/source/markdown/options/platform.md b/docs/source/markdown/options/platform.md
index edfa428ff..b66efdfb2 100644
--- a/docs/source/markdown/options/platform.md
+++ b/docs/source/markdown/options/platform.md
@@ -2,3 +2,4 @@
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.