summaryrefslogtreecommitdiff
path: root/docs/source/markdown/options/pull.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/markdown/options/pull.md')
-rw-r--r--docs/source/markdown/options/pull.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/source/markdown/options/pull.md b/docs/source/markdown/options/pull.md
new file mode 100644
index 000000000..ae0911507
--- /dev/null
+++ b/docs/source/markdown/options/pull.md
@@ -0,0 +1,8 @@
+#### **--pull**=*policy*
+
+Pull image policy. The default is **missing**.
+
+- **always**: Always pull the image and throw an error if the pull fails.
+- **missing**: Pull the image only if it could not be found in the local containers storage. Throw an error if no image could be found and the pull fails.
+- **never**: Never pull the image but use the one from the local containers storage. Throw an error if no image could be found.
+- **newer**: Pull if the image on the registry is newer than the one in the local containers storage. An image is considered to be newer when the digests are different. Comparing the time stamps is prone to errors. Pull errors are suppressed if a local image was found.