How does Docker determine which platform/architecture (e.g. amd64 vs arm64) an image is built for, and why does this matter for multi-platform builds?
Correct! Well done.
Incorrect.
The correct answer is B) Images are built for a specific CPU architecture/OS combination; tools like "docker buildx" can build and push a single manifest referencing multiple architecture-specific images, so the correct one is automatically pulled based on the host's platform
Correct Answer
Images are built for a specific CPU architecture/OS combination; tools like "docker buildx" can build and push a single manifest referencing multiple architecture-specific images, so the correct one is automatically pulled based on the host's platform
buildx with QEMU emulation can build images for architectures different from the host, and a multi-arch manifest list lets "docker pull" automatically select the image variant matching the pulling host's architecture.