You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mocker build --platform <os/arch> successfully builds per-architecture images (amd64, arm64, ppc64le all confirmed working). However, there is no way to assemble these into a multi-architecture OCI Image Index (manifest list) for publication.
# These all work today:
mocker build --platform linux/amd64 -t test-amd64:latest .
mocker build --platform linux/arm64 -t test-arm64:latest .
mocker build --platform linux/ppc64le -t test-ppc64le:latest .# This does not exist:
mocker manifest create test-multiarch:latest # ← unknown command
mocker manifest add test-multiarch:latest test-amd64:latest
mocker manifest push test-multiarch:latest
Upstream tracking
Apple upstream issue filed: apple/container#1495 — Feature: container manifest subcommand for multi-arch OCI image index creation
If Apple ships a container manifest plugin, mocker can delegate to it directly. Monitor that issue.
Proposed solution
Add a mocker manifest subcommand group matching Docker and Podman conventions:
Problem
mocker build --platform <os/arch>successfully builds per-architecture images (amd64, arm64, ppc64le all confirmed working). However, there is no way to assemble these into a multi-architecture OCI Image Index (manifest list) for publication.Upstream tracking
Apple upstream issue filed: apple/container#1495 — Feature:
container manifestsubcommand for multi-arch OCI image index creationIf Apple ships a
container manifestplugin, mocker can delegate to it directly. Monitor that issue.Proposed solution
Add a
mocker manifestsubcommand group matching Docker and Podman conventions:mocker manifest create <list> [images...]mocker manifest add <list> <image>mocker manifest rm <list> <image>mocker manifest inspect <list>mocker manifest push <list>mocker manifest annotateImplementation notes
containerCLI has nomanifestplugin yet (tracked upstream: Feature:container manifestsubcommand for multi-arch OCI image index creation apple/container#1495)apple/containerization'sImageStoremay already have the primitives needed to construct an OCI Indexskopeoif available (skopeo supports--multi-archand can create manifest lists)Workaround today
Use
skopeoto push per-arch images to a registry, then assemble a manifest list externally:Related
container manifestsubcommand for multi-arch OCI image index creation apple/container#1495 — upstreamcontainer manifestfeature request (filed alongside this issue)Note
Responses generated with Claude