Question 288 — Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions
An administrator tests a Docker image in a virtual machine. However, when the container is deployed on a Linux virtual machine, it fails to run and throws an incompatibility error. What is the likely cause of this error? (Select 1 answer).
The Docker image is corrupt.
The application runtime components are not compatible with the Linux OS.
The Docker image was created with Windows OS as its primary operating system.
The Docker image was built on Windows OS, but the developer forgot to include OS-compatible converters.
Correct answers
The Docker image was created with Windows OS as its primary operating system.
Explanations
Correct:
The Docker image was created with Windows OS as its primary operating system.
Docker images are OS-specific. If the image was created using Windows as the base OS, it cannot run natively on a Linux host due to fundamental differences between the two operating systems. Docker containers require a base image compatible with the host's operating system kernel.
Wrong:
The Docker image is corrupt.
A corrupt image would result in a different error, typically indicating a failure to load or extract the image, not an incompatibility error.
The application runtime components are not compatible with the Linux OS.
While runtime compatibility is critical, the specific error here relates to OS incompatibility, not runtime components.
The Docker image was built on Windows OS, but the developer forgot to include OS-compatible converters.
Docker does not use "OS-compatible converters." Containers must match the host OS kernel,