Windows container compatibility boundaries
Worked example
This is an offline lesson. Data are fictional and Docker commands are unexecuted. Any optional execution requires an authorized disposable VM, a verified context, synthetic data, restricted access and no external transmission. Do not collect secrets or private output. Treat the worksheet as offline evidence. Before any separately authorized server query, verify the effective endpoint and its trust boundary, including context overrides. Do not change runtime state, mount host data or modify Desktop settings in this exercise.
Synthetic compatibility review:Host A: approved Windows Pro workstation, Desktop Linux engineHost B: approved Windows workstation, Windows engine (eligibility unverified)Host C: macOS Desktop Linux engineArtifact L: linux/amd64Artifact W: windows/amd64, specific Windows base image buildWindows isolation candidates: process / Hyper-VNo engine switch performed.L belongs to a Linux engine with matching architecture or separately validated emulation. W requires a Windows container environment with supported edition, installation mode, architecture, host and base image version combination, and isolation mode. Docker Desktop documentation identifies Windows Pro or Enterprise as required client editions for Windows containers and all-users installation as required; other prerequisites still apply, and these facts must be rechecked for the intended version. Windows process isolation shares the host Windows kernel; Hyper-V isolation gives the container a separate Windows kernel in a lightweight VM and allows some additional supported version combinations. Consult Microsoft’s compatibility matrix rather than assuming every host/base pair works. A Windows image does not run on the macOS Linux engine just because both are AMD64. Use the approved Windows lab lane separately; do not switch a shared daemon, enable privileged features or install Windows images for this exercise. Match the exact Windows host and base-image build and isolation mode to Microsoft’s current compatibility matrix; do not generalize a supported Hyper-V combination to process isolation. A separate Windows test lane must record the actual selected engine and supported configuration.
Common mistake
Neither an identical CPU architecture nor Hyper-V isolation guarantees an arbitrary Windows base image is compatible.
Manual practice
Explain why W is not eligible on A and C as configured. For B list the evidence needed before attempting a run, including edition, host build, image build and isolation.
Worksheet: lab-fixtures/docker-desktop-portability/07-windows-containers/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Windows container compatibility boundaries — Knowledge check
Interpret synthetic cross-platform evidence and identify missing compatibility or entitlement checks.
Can windows/amd64 run directly on a Linux engine solely because CPU matches?
What distinguishes Hyper-V isolation from process isolation for Windows containers?
What evidence is required before choosing a Windows base image?