<p>i am trying to lunch a new pod from  in side another pod using Kubernetes cluster, but when trying this following error message could seen in the ,</p>
<p>Failed to pull image &quot;dhammikalks/node&quot;: rpc error: code = Unknown desc = failed to pull and unpack image &quot;docker.io/dhammikalks/node:latest&quot;: failed to copy: httpReadSeeker: failed open: unexpected status code <a href="https://registry-1.docker.io/v2/XXXXXXXXXX" rel="nofollow noreferrer">https://registry-1.docker.io/v2/XXXXXXXXXX</a>  9: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: <a href="https://www.docker.com/increase-rate-limit" rel="nofollow noreferrer">https://www.docker.com/increase-rate-limit</a></p>
<p>from what i can find-out, i need to login to the docker registry in-order to avoid this, can someone explain how can i do this ?, currently docker commands are not available inside the pod.</p>

duke_92
<p>Easy option to overcome docker rating limiting problem is to have the image stored in private repo.  There are different articles to understand how docker rate limiting works.  For this you wouldn't require docker login commands inside the container.</p>
<p>Please use kubernetes secrets if required to supply login credentials of image repository.  Request to refer kubernetes <a href="https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/#create-a-pod-that-uses-your-secret" rel="nofollow noreferrer">sample definition</a> how to use &quot;imagePullSecrets&quot;</p>
