summaryrefslogtreecommitdiff
path: root/docs/source
diff options
context:
space:
mode:
authorUrvashi Mohnani <umohnani@redhat.com>2020-12-07 16:28:38 -0500
committerUrvashi Mohnani <umohnani@redhat.com>2020-12-07 17:04:53 -0500
commitb0707af68b88168fa7b48df039e27e4e165f3423 (patch)
treec9ba0804a92d9644c9d378a65f77efda1c86a9df /docs/source
parenta5ca03915e7ad8b9db81d22a256013ce5ae3cc87 (diff)
downloadpodman-b0707af68b88168fa7b48df039e27e4e165f3423.tar.gz
podman-b0707af68b88168fa7b48df039e27e4e165f3423.tar.bz2
podman-b0707af68b88168fa7b48df039e27e4e165f3423.zip
Do not pull if image domain is localhost
With podman play kube, podman would always attempt to pull if the image has the :latest tag. But this would fail if the image was built locally and given latest as the tag. Images build with podman and buildah have localhost as the domain, so check if the domain is localhost. If that is the case, then don't attempt a pull. Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
Diffstat (limited to 'docs/source')
-rw-r--r--docs/source/markdown/podman-play-kube.1.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/source/markdown/podman-play-kube.1.md b/docs/source/markdown/podman-play-kube.1.md
index 67584ffcc..2de261f66 100644
--- a/docs/source/markdown/podman-play-kube.1.md
+++ b/docs/source/markdown/podman-play-kube.1.md
@@ -15,6 +15,8 @@ Ideally the input file would be one created by Podman (see podman-generate-kube(
Note: HostPath volume types created by play kube will be given an SELinux private label (Z)
+Note: If the `:latest` tag is used, Podman will attempt to pull the image from a registry. If the image was built locally with Podman or Buildah, it will have `localhost` as the domain, in that case, Podman will use the image from the local store even if it has the `:latest` tag.
+
## OPTIONS
#### **--authfile**=*path*