⚡ ~/naveed Interview Prep
⚡ Portfolio Home ✍️ Engineering Blog Deep Dives 🎯 Interview Hub 998+ Scenarios ☸️ Kubernetes Mastery Hub 24 Modules 🎮 DevOps Arcade & Quizzes Subnet Blitz ⚡ 🗺️ DevOps Roadmaps PDFs & Guides 🤖 Morpheus Analysis AI Quant ↗ 🛠️ Developer Tools Utilities 🧪 Labs & Experiments 📄 Interactive CV & Certs 🔗 All Links & Socials ⚡ Join The Dispatch (Weekly SRE Newsletter) →
Staff SRE / Principal Architect [L3] Docker Must enable BuildKit Staff SRE Scenario [L3]

Q: You need to verify whether a Docker image tagged `myapp:v2.1.0` in your registry is truly a multi-architecture image that supports both `linux/amd64` and `linux/arm64`, without pulling the entire image. How do you inspect this remotely?

Use docker manifest inspect to query the registry's manifest list without downloading any image layers:

#Docker #Must enable BuildKit #L3 #Containers #Linux
🎙️ Candidate Opening & Architectural Context
""When containerizing our microservices stack, container lifecycle and resource management were critical. The interviewer is testing: OCI image manifests, manifest lists, `docker manifest inspect`.. I structure my answer around systematic triage first, root cause analysis second, and permanent remediation third.""
Advertisement

🛠️ Production Runbook & Step-by-Step Resolution

1️⃣

Production Solution & Architecture

Use docker manifest inspect to query the registry's manifest list without downloading any image layers: For a multi-arch image, this returns a manifest list (also called a "fat manifest") containing multiple entries — one per platform. Each entry specifies the architecture, os, and a digest pointing to the platform-specific image manifest. If the image is single-architecture, the command returns a single image manifest with layer digests instead of a list. You can also use tools like crane (from Google's go-containerregistry): Or skopeo: skopeo inspect --raw docker://myregistry.com/myapp:v2.1.0 | jq . These tools query the registry API directly, never downloading image layers.

docker manifest inspect myregistry.com/myapp:v2.1.0
💡 The Senior SRE Gold Nugget (Key Architectural Takeaway)
"Pro-Tip: Use docker manifest inspect to query the registry's manifest list without downloading any image layers:."
⚡ 60-Second Elevator Pitch Talking Points
  • Immediate Triage: Use docker manifest inspect to query the registry's manifest list without downloading any image
  • Run targeted verification commands before modifying configuration.
  • Automate permanent guardrails (CI check, alerts, IaC policy) to prevent recurrence.
Advertisement
Want more Docker scenarios?
Explore our complete collection of scenario-based Docker interview runbooks.
Browse All Docker Questions →

📚 Related Production Scenarios in Docker