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.
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 3m The 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.
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.
Start by identifying the affected Pod and examining its events.
Check workloads in the affected namespace:
kubectl get pods -n production To inspect Pods across all namespaces:
kubectl get pods -A Look for ImagePullBackOff, ErrImagePull, or another image-related status.
Run:
kubectl describe pod POD_NAME -n production Replace 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.
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.
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 yaml Verify the registry hostname, repository path, image name, and tag.
An incorrect image reference is one of the most straightforward causes of ImagePullBackOff.
For example:
containers:
- name: web
image: nginx:99.99 If the specified tag does not exist in the registry, Kubernetes cannot download the image.
Other common mistakes include:
First, inspect the image reference in the Deployment:
kubectl get deployment web -n production -o yaml Then 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 production This 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 production For production deployments, prefer explicit version tags or image digests rather than relying on a moving latest tag.
Private registries require valid credentials before Kubernetes can download protected images.
A Pod may display errors such as:
unauthorized: authentication required or:
pull access denied Another common message is:
FailedToRetrieveImagePullSecret This usually indicates that Kubernetes cannot retrieve the referenced Secret.
List Secrets in the Pod’s namespace:
kubectl get secrets -n production Check the referenced Secret:
kubectl get secret regcred -n production Remember that image pull Secrets must exist in the same namespace as the Pod.
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 production Use the appropriate credentials file for your registry.
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: 8080 Replace 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.
Some registries limit the number of image pulls made by unauthenticated or lower-tier accounts.
A registry may return:
429 Too Many Requests This can occur when multiple Pods or nodes repeatedly pull images from the same external registry.
Consider the following measures:
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.
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.
| 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 |
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.
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:
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.
Sometimes the image exists, but Kubernetes is not using the pull behavior or image variant you expect.
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: IfNotPresent The 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.
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/amd64 Check the node architecture:
kubectl get nodes \
-o custom-columns=NAME:.metadata.name,ARCH:.status.nodeInfo.architecture Then 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.
After correcting the image reference, credentials, network, or registry configuration, verify that Kubernetes can retrieve the image and start the container.
kubectl get pods -n production -w The Pod should progress toward Running when the image is successfully pulled and the container starts.
For a Deployment:
kubectl rollout status deployment/web -n production kubectl describe pod POD_NAME -n production Confirm that new image-pull failures are no longer appearing in the Events section.
Once the container has started:
kubectl logs POD_NAME -n production --tail=100 For multi-container Pods, specify the container:
kubectl logs POD_NAME -c web -n production --tail=100 After 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.
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 production Then verify:
kubectl rollout status deployment/web -n production Only use this when the previous ReplicaSet contains a working image and the rollback is appropriate for the application.
Deleting a Pod may cause its controller to create another Pod with the same invalid image configuration. The pull failure will continue.
Image pull Secrets are namespace-scoped. A Secret in the default namespace is not automatically available to a Pod in production.
A successful docker login on your workstation does not automatically provide registry credentials to Kubernetes nodes.
The status alone does not identify whether the problem is authentication, a missing tag, DNS, a certificate, or rate limiting.
An untrusted registry certificate should be addressed by configuring the appropriate certificate authority, not by weakening security controls.
Mutable image tags make deployments less predictable and can complicate rollbacks. Use explicit versions or digests for controlled releases.
It means Kubernetes cannot retrieve the container image required by a Pod. The kubelet retries the pull with an increasing delay between attempts.
ErrImagePull indicates a failed image pull attempt. ImagePullBackOff indicates Kubernetes is delaying another attempt after the failure.
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.
The registry may be receiving missing, expired, or incorrect credentials, or the account may not have permission to access the requested repository.
Not by itself. A replacement Pod will generally use the same image configuration. Fix the underlying registry, authentication, image, or connectivity problem first.
Run:
kubectl describe pod POD_NAME -n NAMESPACE Inspect the Events section and read the exact message associated with the failed image pull.
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.
Introduction Border Gateway Protocol (BGP) is the routing protocol used to exchange network reachability information…
Introduction A Linux server can experience connection failures even when its network interface is working…
Introduction TCP retransmissions are an important indicator of network reliability and performance. When a Linux…
Open Shortest Path First (OSPF) is a link-state routing protocol widely used in enterprise networks…
Group Policy is one of the most important management features in Windows Server Active Directory…
Windows DNS servers play an essential role in Active Directory environments, allowing computers, servers, applications,…