Affected versions: Windows Server 2022

πŸ“– ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution β€” Primary Fix
  7. Solution β€” Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Nano Server containers exit immediately and services cannot launch.

Environment & Reproduction

Host patch level differs from container base image tag compatibility matrix.

docker run --rm mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c ver

Root Cause Analysis

Kernel/user-mode compatibility mismatch causes runtime startup failure.

Quick Triage

Compare host build and image metadata.

[System.Environment]::OSVersion.Version
docker images

Step-by-Step Diagnosis

Inspect daemon errors and event logs for platform mismatch hints.

Get-WinEvent -LogName Application -MaxEvents 100 | ? Message -match 'mismatch|platform'
Illustrative mockup for windows-server-2022 β€” terminal_or_powershell
Nano Server container diagnostics β€” Illustrative mockup β€” Progressive Robot

Solution β€” Primary Fix

Use matching LTSC2022 image tags and patch host to supported level.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

docker pull mcr.microsoft.com/windows/nanoserver:ltsc2022
Install-WindowsUpdate -AcceptAll -AutoReboot
Illustrative mockup for windows-server-2022 β€” event_or_log_viewer
Nano Server container remediation β€” Illustrative mockup β€” Progressive Robot

Solution β€” Alternative Approaches

Switch to process isolation alternatives or Hyper-V isolation for mismatch scenarios.

docker run --isolation=hyperv mcr.microsoft.com/windows/nanoserver:ltsc2022 cmd /c ver

Verification & Acceptance Criteria

Container starts reliably and application process remains healthy.

docker ps

Rollback Plan

Revert to previously validated image digest.

docker pull mcr.microsoft.com/windows/nanoserver@sha256:

Prevention & Hardening

Pin image digests and align host patch windows with image refresh cadence.

docker inspect mcr.microsoft.com/windows/nanoserver:ltsc2022

Related: HCS_E_IMAGE_NOT_FOUND and LCOW compatibility limits.

Related tutorial: View the step-by-step tutorial for Windows Server 2022.

View all Windows Server 2022 tutorials on the Tutorials Hub β†’

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Microsoft container image compatibility and lifecycle support documentation.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today β€” we respond within one business day.