Build Images for Two Architectures

Half your team is on arm64 laptops and the servers are amd64. Publish one image reference that serves both, find out where the emulation actually lives, then stop needing it.

Project labintermediate~45 minFree

What you'll do

  • ✓Create a builder that can target a foreign architecture
  • ✓Publish an image index covering amd64 and arm64
  • ✓Tell the builder's capabilities apart from the daemon's
  • ✓Cross-compile instead of emulating, and verify the native variant runs

Lab outline

  1. 01Get a builder that can cross
  2. 02Publish both architectures
  3. 03Say why it worked
  4. 04Run the native variant

Before you start

  • Containerize the Status API
  • Registry and Digests

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Docker labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

Build Images for Two Architectures — Docker lab | Kube Labs