3. Docker Multi-Architecture Image
Beginner Mode
Start your terminal to use beginner mode.
Scenario:
You have a Dockerfile at /home/interview/Dockerfile that needs to be built for multiple architectures to support different hardware platforms. Currently, building with docker build only creates images for the host architecture.
Task:
Configure Docker Buildx instance named multiarch with buildx create to build the image for both amd64 and arm64 architectures using Push the multi-arch manifest to localhost:5000/myapp:multi.
Example:
Building for linux/amd64 only
Building for linux/amd64, linux/arm64
Pushing manifest list to localhost:5000/myapp:multi
Terminal requires a larger screen
Open this page on a desktop or tablet (≥ 768px) to launch the terminal and practice hands-on.
Linux Terminal Environment
Write and execute your solution in the terminal below.
Essential
SQL 0/33
Git 0/15
Spark 0/20
Snowflake 0/22
Python 0/24
Need more practice in this area? Explore more questions →
Accenture
TCS
X
Adobe
Google
LinkedIn
Samsung
Datadog
Wix
Dropbox
Meta
OpenAI
Hulu
Uber
DoorDash
Anthropic
Amazon
ActivisionBlizzard
Vercel
Crypto.Com
Zscaler
DeutscheBank
Apple
GoDaddy
BMW
PayPal
Snowflake
AMD
Twilio
Atlassian
JPMorgan
NVIDIA
IBM
Databricks
Coinbase
Cisco
Robinhood
Twitter
Microsoft
Palantir
Netflix
VMware
Cloudflare
Stripe
Capital One
Splunk
Intel
SAP
Tesla
GitHub
JaneStreet
Bloomberg
Salesforce
Elastic
CGI
UBS
GitLab
Ubisoft
Slack
Nintendo
EY
Kayak
Lyft
Airbnb
Walmart
Revolut
Visa
Okta
HashiCorp
Instacart
Mastercard