
A Kubernetes workload can be successfully submitted to a cluster and scheduled onto a node, yet its container may never start. One common reason is the ImagePullBackOff status.
This error appears when Kubernetes cannot retrieve the container image required by a Pod. The problem may involve an incorrect image name, a missing tag, private registry credentials, network connectivity, registry rate limits, or image compatibility.
Simply restarting the Pod usually does not solve the underlying issue. Kubernetes will continue retrying the image pull, with an increasing delay between attempts, until the problem is corrected.
This guide explains what ImagePullBackOff means, how to identify the exact failure from Kubernetes events, and how to fix common image pull problems in production and development clusters.
What Is ImagePullBackOff?
ImagePullBackOff is a Kubernetes container waiting state indicating that Kubernetes could not pull the image needed to start a container.
A Pod may display something similar to:
NAME READY STATUS RESTARTS AGE
web-7f9c88b6d7-abc12 0/1 ImagePullBackOff 0 3mThe Pod may already have been scheduled onto a node, but the container cannot start because its image is unavailable locally and the image pull has failed.
ImagePullBackOff vs ErrImagePull
These two statuses are related, but they describe different stages of the image pull failure.
| Status | Meaning |
|---|---|
ErrImagePull | An image pull attempt failed. |
ImagePullBackOff | Kubernetes is delaying another attempt after repeated failures. |
InvalidImageName | The specified image reference is invalid. |
ImageInspectError | The container runtime encountered a problem inspecting the image. |
The BackOff part means Kubernetes increases the delay between retries. The documented maximum delay is five minutes.
The important point is that ImagePullBackOff is a symptom, not the root cause. The actual reason is normally found in the Pod’s Events.
See the official Kubernetes container images documentation.
How to Diagnose the Error
Start by identifying the affected Pod and examining its events.
1. List Pods
Check workloads in the affected namespace:
kubectl get pods -n productionTo inspect Pods across all namespaces:
kubectl get pods -ALook for ImagePullBackOff, ErrImagePull, or another image-related status.
2. Describe the affected Pod
Run:
kubectl describe pod POD_NAME -n productionReplace POD_NAME with the actual Pod name.
Scroll to the Events section.
For example:
Events:
Type Reason Age From Message
---- ------ --- ---- -------
Normal Scheduled 2m scheduler Successfully assigned ...
Warning Failed 1m kubelet Failed to pull image ...
Warning BackOff 30s kubelet Back-off pulling image ...The exact error message is more useful than the status displayed by kubectl get pods.
3. Retrieve recent namespace events
You can also inspect recent events directly:
kubectl get events -n production \
--sort-by='.metadata.creationTimestamp'This helps identify whether the problem began after a deployment, registry change, secret update, or node configuration change.
4. Check the image referenced by the Pod
Retrieve the image reference:
kubectl get pod POD_NAME -n production \
-o jsonpath='{.spec.containers[*].image}{"\n"}'For multiple containers, inspect their image references individually through the Pod specification.
For Deployments, also check the Pod template:
kubectl get deployment web -n production -o yamlVerify the registry hostname, repository path, image name, and tag.
Fix an Incorrect Image Name or Tag
An incorrect image reference is one of the most straightforward causes of ImagePullBackOff.
For example:
containers:
- name: web
image: nginx:99.99If the specified tag does not exist in the registry, Kubernetes cannot download the image.
Other common mistakes include:
- Misspelled repository names.
- Incorrect registry hostnames.
- Missing repository paths.
- A tag that was never pushed.
- A tag removed by registry retention policies.
- A CI/CD pipeline that builds an image but publishes a different tag.
How to fix it
First, inspect the image reference in the Deployment:
kubectl get deployment web -n production -o yamlThen verify that the repository and tag actually exist in the intended registry.
Update the Deployment with a valid image:
kubectl set image deployment/web \
web=nginx:1.27 \
-n productionThis is an illustrative command. Use the actual image, container name, and approved version for your environment.
Check the rollout:
kubectl rollout status deployment/web -n productionFor production deployments, prefer explicit version tags or image digests rather than relying on a moving latest tag.
Fix Private Registry Authentication Errors
Private registries require valid credentials before Kubernetes can download protected images.
A Pod may display errors such as:
unauthorized: authentication requiredor:
pull access deniedAnother common message is:
FailedToRetrieveImagePullSecretThis usually indicates that Kubernetes cannot retrieve the referenced Secret.
1. Check whether the image pull Secret exists
List Secrets in the Pod’s namespace:
kubectl get secrets -n productionCheck the referenced Secret:
kubectl get secret regcred -n productionRemember that image pull Secrets must exist in the same namespace as the Pod.
2. Create a registry Secret
One approach is to import existing Docker registry credentials.
First, ensure that your Docker configuration file contains usable registry authentication information. Some credential-store configurations keep credentials outside the file, so importing such a file alone may not be sufficient.
Then create a Kubernetes Secret:
kubectl create secret generic regcred \
--from-file=.dockerconfigjson="$HOME/.docker/config.json" \
--type=kubernetes.io/dockerconfigjson \
-n productionUse the appropriate credentials file for your registry.
3. Attach the Secret to the Pod
Add the imagePullSecrets field to the Pod specification.
Example:
apiVersion: apps/v1
kind: Deployment
metadata:
name: web
namespace: production
spec:
replicas: 1
selector:
matchLabels:
app: web
template:
metadata:
labels:
app: web
spec:
imagePullSecrets:
- name: regcred
containers:
- name: web
image: ghcr.io/example/web:v1.2.3
ports:
- containerPort: 8080Replace the example image with your actual private image.
The Secret must be in the same namespace as the Pod. The registry credentials must also grant permission to pull the requested repository.
Kubernetes supports this approach through its imagePullSecrets mechanism. See Pull an Image from a Private Registry.
Security note: Do not publish registry passwords or access tokens in YAML files, Git repositories, screenshots, or shell history. Protect Kubernetes Secrets with appropriate RBAC and encryption-at-rest controls.
Resolve Registry Rate Limits
Some registries limit the number of image pulls made by unauthenticated or lower-tier accounts.
A registry may return:
429 Too Many RequestsThis can occur when multiple Pods or nodes repeatedly pull images from the same external registry.
How to fix it
Consider the following measures:
- Authenticate to the registry when required.
- Review the registry’s current rate-limit policy.
- Reduce unnecessary image pulls.
- Use an approved internal registry mirror or caching solution.
- Avoid unnecessarily recreating Pods that already have a valid image configuration.
If the deployment is urgent, use a previously tested image that is known to exist and is accessible to the cluster.
Repeatedly deleting and recreating Pods does not remove registry rate limits.
Fix DNS, Network and TLS Problems
A registry may be available publicly but unreachable from a Kubernetes node.
This can happen when the node cannot resolve the registry hostname, when outbound traffic is blocked, or when a proxy or TLS configuration is incorrect.
Common error messages
| Error message | Likely cause |
|---|---|
no such host | DNS resolution failure |
i/o timeout | Network or firewall issue |
connection refused | Registry endpoint or network service unavailable |
x509: certificate signed by unknown authority | Registry certificate is not trusted |
TLS handshake timeout | TLS or network path problem |
Check the registry hostname
Confirm that the registry hostname in the image reference is correct.
If the hostname is invalid or the registry’s DNS record cannot be resolved from the node, the image pull cannot succeed.
Check node connectivity
Image downloads are performed by the node’s kubelet and container runtime, not by the application container that has not started yet.
Investigate the affected node’s:
- DNS resolver configuration.
- Outbound firewall rules.
- Proxy configuration.
- Registry endpoint availability.
- TLS certificate trust configuration.
For practical Linux connectivity checks using dig, curl, ping, ss, and tcpdump, see our Linux Network Tools Guide.
For broader host-level service management, network configuration, and server troubleshooting, see the Linux Server Administration Complete Guide.
For managed Kubernetes platforms, use the provider’s node and image-pull troubleshooting tools.
Do not disable TLS verification as a shortcut. Configure the correct trusted certificate authority for the container runtime and registry.
See Google’s GKE image pull troubleshooting guide and Microsoft’s AKS image pull troubleshooting documentation.
Check Image Pull Policy and Architecture
Sometimes the image exists, but Kubernetes is not using the pull behavior or image variant you expect.
Understand imagePullPolicy
Kubernetes supports three principal image pull policies:
| Policy | Behavior |
|---|---|
Always | The runtime is asked to resolve the image reference whenever a container launches. |
IfNotPresent | Pull the image only when it is not already present locally. |
Never | Do not attempt to pull the image. |
For example:
containers:
- name: web
image: nginx:1.27
imagePullPolicy: IfNotPresentThe Never policy can cause startup failure when the image does not already exist on the node.
Also note that the default policy is selected when the Pod template is first created. Changing an image tag later does not automatically recalculate an already-set imagePullPolicy.
Kubernetes documents these rules in its image pull policy reference.
Check CPU architecture compatibility
An image may exist in the registry but not support the node’s CPU architecture.
For example, an image built only for linux/arm64 may not run on an amd64 node.
An event may contain:
no matching manifest for linux/amd64Check the node architecture:
kubectl get nodes \
-o custom-columns=NAME:.metadata.name,ARCH:.status.nodeInfo.architectureThen verify that the image registry provides a compatible image manifest.
For multi-architecture deployments, build and publish an image that supports the architectures used by your cluster.
Verify That the Fix Worked
After correcting the image reference, credentials, network, or registry configuration, verify that Kubernetes can retrieve the image and start the container.
1. Watch the Pod status
kubectl get pods -n production -wThe Pod should progress toward Running when the image is successfully pulled and the container starts.
2. Check rollout status
For a Deployment:
kubectl rollout status deployment/web -n production3. Inspect the Pod again
kubectl describe pod POD_NAME -n productionConfirm that new image-pull failures are no longer appearing in the Events section.
4. Check application logs
Once the container has started:
kubectl logs POD_NAME -n production --tail=100For multi-container Pods, specify the container:
kubectl logs POD_NAME -c web -n production --tail=100After the image pull succeeds, application logs may reveal a different problem that prevents the container from becoming ready. For Docker-based environments, our guide on Docker Logs Taking Too Much Disk Space explains how to inspect container logs and configure log rotation.
Remember that a successful image pull does not guarantee application readiness. The container may still fail because of configuration, resource, or application-level problems.
5. Roll back an unsuccessful deployment when necessary
If a new deployment introduced the image pull failure and the previous version was known to work, consider reverting it:
kubectl rollout undo deployment/web -n productionThen verify:
kubectl rollout status deployment/web -n productionOnly use this when the previous ReplicaSet contains a working image and the rollback is appropriate for the application.
Common Mistakes to Avoid
Restarting the Pod without fixing the image reference
Deleting a Pod may cause its controller to create another Pod with the same invalid image configuration. The pull failure will continue.
Assuming the imagePullSecret is cluster-wide
Image pull Secrets are namespace-scoped. A Secret in the default namespace is not automatically available to a Pod in production.
Using a local Docker login as proof that Kubernetes can pull an image
A successful docker login on your workstation does not automatically provide registry credentials to Kubernetes nodes.
Ignoring the exact Events message
The status alone does not identify whether the problem is authentication, a missing tag, DNS, a certificate, or rate limiting.
Disabling TLS verification
An untrusted registry certificate should be addressed by configuring the appropriate certificate authority, not by weakening security controls.
Using latest without version control
Mutable image tags make deployments less predictable and can complicate rollbacks. Use explicit versions or digests for controlled releases.
Frequently Asked Questions
What does ImagePullBackOff mean in Kubernetes?
It means Kubernetes cannot retrieve the container image required by a Pod. The kubelet retries the pull with an increasing delay between attempts.
What is the difference between ErrImagePull and ImagePullBackOff?
ErrImagePull indicates a failed image pull attempt. ImagePullBackOff indicates Kubernetes is delaying another attempt after the failure.
How do I fix ImagePullBackOff for a private Docker image?
Check that the image reference is correct, the registry credentials are valid, and a suitable imagePullSecret is attached to the Pod. The Secret must exist in the Pod’s namespace.
Why does Kubernetes report unauthorized when pulling an image?
The registry may be receiving missing, expired, or incorrect credentials, or the account may not have permission to access the requested repository.
Can deleting a Pod fix ImagePullBackOff?
Not by itself. A replacement Pod will generally use the same image configuration. Fix the underlying registry, authentication, image, or connectivity problem first.
How do I find the exact reason for ImagePullBackOff?
Run:
kubectl describe pod POD_NAME -n NAMESPACEInspect the Events section and read the exact message associated with the failed image pull.
Conclusion
Kubernetes ImagePullBackOff is a common container deployment problem, but its root cause can vary significantly between environments.
The most reliable troubleshooting approach is to inspect Pod events first, verify the image reference, check private registry credentials, and investigate node-level DNS, network, and TLS connectivity when necessary.
Once the underlying problem is corrected, monitor the Pod and Deployment until the image is successfully pulled and the application becomes ready.
A disciplined troubleshooting process helps avoid unnecessary restarts, deployment delays, and insecure registry workarounds.