---
title: "Multi-Architecture Images and Manifest Lists Explained"
date: "2026-11-18T14:00:00+07:00"
description: "Understanding multi-arch container images, OCI manifest lists, Fat Manifests, CPU architecture matching (amd64, arm64, s390x), and inspect workflows."
author: "AI Assistant"
image: "https://blog.redlinesoft.net/images/post/multi-architecture-images-manifest-lists.jpg"
alt: "Diagram showing OCI Manifest List pointing to architecture-specific manifests for amd64, arm64, and arm/v7"
tags: ['docker', 'multi-arch', 'oci', 'architecture']
---

With the widespread adoption of Apple Silicon Macs (`arm64`), AWS Graviton servers (`arm64`), and traditional Intel/AMD x86 servers (`amd64`), container developers frequently interact with **Multi-Architecture Images**.

A multi-architecture image allows a single tag (such as `python:3.11` or `nginx:latest`) to transparently run across different CPU architectures without requiring developers to change their Dockerfiles or deployment manifests.

In this deep dive, we will explore how multi-arch images work under the hood using **OCI Manifest Lists** (Fat Manifests), architecture resolution mechanics, and inspection commands.

## What is a Manifest List (Fat Manifest)?

A single-architecture container image manifest points directly to filesystem layers built for one specific OS/CPU combination (e.g., `linux/amd64`).

A **Manifest List** (or **OCI Index**) is a higher-level index document that does not contain filesystem layers directly. Instead, it contains an array of pointers to individual single-architecture image manifests.

```text
+-----------------------------------------------------------------------------------+
| Multi-Arch Manifest Index (Tag: `python:3.11`)                                    |
+-----------------------------------------------------------------------------------+
  │
  ├── Pointer 1: platform: { os: "linux", architecture: "amd64" }
  │             └── Digest: sha256:1111... (points to Intel/AMD manifest)
  │
  ├── Pointer 2: platform: { os: "linux", architecture: "arm64", variant: "v8" }
  │             └── Digest: sha256:2222... (points to Apple Silicon / Graviton manifest)
  │
  └── Pointer 3: platform: { os: "windows", architecture: "amd64" }
                └── Digest: sha256:3333... (points to Windows Server manifest)
```

## How Architecture Resolution Works During `docker pull`

When a developer runs `docker pull python:3.11` on an Apple Silicon Mac (`linux/arm64`):

1. **Request Index**: The Docker daemon queries the registry for tag `python:3.11`.
2. **Inspect Index**: The registry returns the Manifest List.
3. **Match Host CPU**: The client compares its local host architecture (`linux/arm64`) against the platforms array in the Manifest List.
4. **Fetch Exact Target**: The client selects Pointer 2 (`sha256:2222...`) and downloads **only** the `arm64` filesystem layers.

Because resolution happens at the registry level, the user never has to specify `-arm64` or `-amd64` in their scripts!

## Inspecting Multi-Arch Manifest Lists

You can inspect the full architecture tree of any remote container image using `docker buildx imagetools` or `skopeo`.

### Using `docker buildx imagetools`

```bash
docker buildx imagetools inspect ubuntu:22.04
```

Sample output:
```text
Name:      docker.io/library/ubuntu:22.04
MediaType: application/vnd.docker.distribution.manifest.list.v2+json
Digest:    sha256:aab445778574b4a61970...

Manifests:
  Name:      docker.io/library/ubuntu:22.04@sha256:7a8b9c...
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/amd64

  Name:      docker.io/library/ubuntu:22.04@sha256:3d4e5f...
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/arm64/v8

  Name:      docker.io/library/ubuntu:22.04@sha256:9a0b1c...
  MediaType: application/vnd.docker.distribution.manifest.v2+json
  Platform:  linux/s390x
```

### Raw JSON Manifest Index Inspection via `curl`

```bash
curl -s -H "Accept: application/vnd.oci.image.index.v1+json" \
  https://registry-1.docker.io/v2/library/nginx/manifests/latest | jq .
```

Snippet of returned JSON:
```json
{
  "schemaVersion": 2,
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "manifests": [
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:4c0f3f20865...",
      "size": 1570,
      "platform": {
        "architecture": "amd64",
        "os": "linux"
      }
    },
    {
      "mediaType": "application/vnd.oci.image.manifest.v1+json",
      "digest": "sha256:8a12bc9031...",
      "size": 1570,
      "platform": {
        "architecture": "arm64",
        "os": "linux"
      }
    }
  ]
}
```

## Legacy `docker manifest` CLI (Manual Assembly)

Before BuildKit automated multi-arch builds, developers manually built single-arch images on different machines and stitched them together using `docker manifest`:

```bash
# 1. Build and push single-arch images
docker push myorg/app:v1-amd64
docker push myorg/app:v1-arm64

# 2. Create manifest list pointing to both
docker manifest create myorg/app:v1 \
  myorg/app:v1-amd64 \
  myorg/app:v1-arm64

# 3. Annotate architecture details
docker manifest annotate myorg/app:v1 myorg/app:v1-arm64 --os linux --arch arm64

# 4. Push manifest list index to registry
docker manifest push myorg/app:v1
```

*(Note: Today, BuildKit (`docker buildx build --platform linux/amd64,linux/arm64`) performs this entire process automatically).*

## Summary

Multi-architecture manifest lists unify cross-platform container delivery, enabling seamless image distribution across heterogenous CPU fleets.
