---
title: "Debugging 'Manifest Unknown' and Tag-Confusion Errors"
date: "2026-11-18T18:45:00+07:00"
description: "Troubleshooting common OCI registry errors: manifest unknown, image pull backoff, tag confusion, architecture mismatches, and registry HTTP 404 responses."
author: "AI Assistant"
image: "https://blog.redlinesoft.net/images/post/debugging-manifest-unknown-tag-confusion-errors.jpg"
alt: "Terminal error screen illustrating manifest unknown error resolution flow"
tags: ['docker', 'registry', 'troubleshooting', 'errors']
---

Running `docker pull` or deploying a Kubernetes workload sometimes fails with cryptic registry errors such as `MANIFEST_UNKNOWN: manifest unknown`, `ImagePullBackOff`, or `exec format error`.

These errors usually point to missing tags, registry authentication scope mismatches, broken multi-architecture manifest lists, or tag confusion.

In this troubleshooting guide, we will analyze the root causes of "Manifest Unknown" and tag-confusion errors, provide step-by-step diagnostic CLI workflows, and walk through resolutions.

## Error 1: `MANIFEST_UNKNOWN: manifest unknown` (HTTP 404)

### Error Output:
```text
Error response from daemon: manifest for myregistry.com/team/app:v1.2.0 not found: manifest unknown: manifest unknown
```

```text
+-----------------------------------------------------------------------------------+
| Diagnostic Tree for `MANIFEST_UNKNOWN`                                             |
+-----------------------------------------------------------------------------------+
  ├── Cause 1: Typo in tag name (e.g. `v1.2.0` vs `1.2.0`).
  ├── Cause 2: Image tag was deleted by registry garbage collection retention rules.
  ├── Cause 3: Image push failed mid-way (layers uploaded, but manifest push failed).
  └── Cause 4: Authentication token scope missing pull permissions for namespace.
```

### Step-by-Step Diagnostic Resolution:

1. **List Remote Tags via API or Skopeo**:
   Verify whether the tag actually exists in the remote registry repository:
   ```bash
   # Using Skopeo to list remote tags
   skopeo list-tags docker://myregistry.com/team/app
   ```

2. **Verify Namespace & Repository Name**:
   Check if the repository path requires an organization prefix (e.g. `myregistry.com/myorg/team/app`).

3. **Check CI Push Logs**:
   Confirm that the CI build pipeline completed its `docker push` step cleanly without timing out before manifest upload.

---

## Error 2: Tag Confusion & Mutable Drift

**Symptom**: Node A pulls `myregistry.com/app:staging` and runs version 1.1, while Node B pulls `myregistry.com/app:staging` 5 minutes later and runs version 1.2!

### Root Cause:
`staging` is a **mutable tag**. A developer or CI pipeline pushed a new image manifest to the same tag while Node B was initializing.

### Resolution:
1. **Always Pin Production Deployments by Digest**:
   ```yaml
   image: myregistry.com/app@sha256:7f8a91b2c3d4e5f6...
   ```
2. **Set `imagePullPolicy: Always`**:
   If using mutable staging tags in Kubernetes, set `imagePullPolicy: Always` to force nodes to check the registry for updated tag digests on pod restart.

---

## Error 3: `exec format error` (Architecture Mismatch)

### Error Output:
```text
exec ./server: exec format error
```

### Root Cause:
The host CPU architecture does not match the compiled container image architecture. For example, pulling an `amd64` container image onto an `arm64` Raspberry Pi or Apple Silicon host without QEMU emulation.

### Step-by-Step Diagnostic Resolution:

1. **Inspect Host Architecture**:
   ```bash
   uname -m
   # Output: aarch64 (ARM64) or x86_64 (AMD64)
   ```

2. **Inspect Remote Image Architecture Support**:
   ```bash
   docker buildx imagetools inspect myregistry.com/team/app:v1.2.0
   ```
   If output shows `Platform: linux/amd64` only, the image lacks `arm64` support!

3. **Fix**: Re-build the image using multi-platform Buildx:
   ```bash
   docker buildx build --platform linux/amd64,linux/arm64 -t myregistry.com/team/app:v1.2.0 --push .
   ```

---

## Error 4: `UNAUTHORIZED: authentication required`

### Error Output:
```text
Error response from daemon: Head "https://myregistry.com/v2/team/app/manifests/v1": unauthorized: authentication required
```

### Diagnostic Resolution:

1. **Re-authenticate with Registry**:
   ```bash
   echo "$MY_TOKEN" | docker login myregistry.com -u "$MY_USER" --password-stdin
   ```

2. **Verify Kubernetes `imagePullSecrets`**:
   If occurring inside Kubernetes, verify that the namespace contains a valid `docker-registry` secret and that the deployment references it:

   ```yaml
   spec:
     imagePullSecrets:
       - name: my-registry-secret
     containers:
       - name: app
         image: myregistry.com/team/app:v1.2.0
   ```

---

## Summary Diagnostic Reference

| Error | Primary Cause | Immediate Fix |
| :--- | :--- | :--- |
| **`manifest unknown`** | Tag name typo or deleted tag | Run `skopeo list-tags <repo>` |
| **`exec format error`** | Host CPU mismatch (x86 vs ARM) | Build with `docker buildx --platform` |
| **`unauthorized`** | Missing or expired token | Run `docker login` with fresh PAT |
| **Tag Drift** | Mutable tags overwritten | Pin deployments using `@sha256:...` digest |

Following systematic diagnostic steps quickly isolates registry manifest errors and ensures reliable container deployments.
