From 639001434f565642ae794baa50898f3b5560174f Mon Sep 17 00:00:00 2001 From: Ahmet Soormally Date: Mon, 25 Jun 2018 19:40:22 +0100 Subject: [PATCH] include image-pull-policy=Never for kubectl run (#9100) * include image-pull-policy=Never for kubectl run * Copyedit --- content/en/docs/tutorials/hello-minikube.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index b0ef031ba5..8284081f48 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -204,10 +204,12 @@ Pod and restarts the Pod's Container if it terminates. Deployments are the recommended way to manage the creation and scaling of Pods. Use the `kubectl run` command to create a Deployment that manages a Pod. The -Pod runs a Container based on your `hello-node:v1` Docker image: +Pod runs a Container based on your `hello-node:v1` Docker image. Set the +`--image-pull-policy` flag to `Never` to always use the local image, rather than +pulling it from your Docker registry (since you haven't pushed it there): ```shell -kubectl run hello-node --image=hello-node:v1 --port=8080 +kubectl run hello-node --image=hello-node:v1 --port=8080 --image-pull-policy=Never ``` View the Deployment: