Skip to content

Commit

Permalink
corrected example for private image string format
Browse files Browse the repository at this point in the history
without specifying registry details for `image` value, You will get following error if you are using a private registry even when your private images are hosted in docker.hub and you have valid credentials configured for the same.

Failed to pull image "xxx/xxx-app:0.0.1": rpc error: code = Unknown desc = Error response from daemon: pull access denied for xxx/xxx-app, repository does not exist or may require 'docker login'
  • Loading branch information
raja-anbazhagan authored May 11, 2019
1 parent dd677bc commit 69bfc58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ wget -O my-private-reg-pod.yaml https://k8s.io/examples/pods/private-reg-pod.yam
In file `my-private-reg-pod.yaml`, replace `<your-private-image>` with the path to an image in a private registry such as:

```none
janedoe/jdoe-private:v1
yourprivateregistry.com/janedoe/jdoe-private:v1
```

To pull the image from the private registry, Kubernetes needs credentials.
Expand Down

0 comments on commit 69bfc58

Please sign in to comment.