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
- 01Get a builder that can cross
- 02Publish both architectures
- 03Say why it worked
- 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.