# Failed to pull image "myregistry.azurecr.io/myapp:latest": rpc error: code = Unknown desc = Error response from daemon: manifest for myregistry.azurecr.io/myapp:latest not found: manifest unknown

- **ID:** `cloud/azure-aks-pod-stuck-containercreating-imagepullbackoff`
- **Domain:** cloud
- **Category:** config_error
- **Verification:** ai_generated
- **Fix Rate:** 90%

## Root Cause

The container image tag 'latest' does not exist in the Azure Container Registry (ACR) because the CI/CD pipeline pushed a specific version tag (e.g., 'v1.2.3') but the Kubernetes deployment manifest references 'latest', or the image was deleted.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| Azure Kubernetes Service (AKS) 1.28 | active | — | — |
| Azure Container Registry (ACR) SKU: Standard | active | — | — |
| kubectl v1.29.0 | active | — | — |

## Workarounds

1. **Update the Kubernetes deployment manifest to use the correct image tag that exists in ACR: `kubectl set image deployment/myapp myapp=myregistry.azurecr.io/myapp:v1.2.3`** (95% success)
   ```
   Update the Kubernetes deployment manifest to use the correct image tag that exists in ACR: `kubectl set image deployment/myapp myapp=myregistry.azurecr.io/myapp:v1.2.3`
   ```
2. **If 'latest' is required, retag the existing image in ACR: `az acr import --name myregistry --source myregistry.azurecr.io/myapp:v1.2.3 --image myapp:latest`** (90% success)
   ```
   If 'latest' is required, retag the existing image in ACR: `az acr import --name myregistry --source myregistry.azurecr.io/myapp:v1.2.3 --image myapp:latest`
   ```

## Dead Ends

- **** — ACR anonymous pull is disabled by default; even if the image exists, AKS needs authentication to pull from ACR. (70% fail)
- **** — Restarting pods does not fix the missing image; it will only cause the same error again. (95% fail)
- **** — The pull secret may be valid but the image tag simply doesn't exist; the error is about the manifest, not authentication. (60% fail)
