Docker run of a windows container image fails with "docker: error response from daemon: hcsshim::CreateComputerSystem e1................8454: The container operating systems does not match the host operating system
Environment
- OpenShift Container Platform 4.6+
Issue
Customer is unable to run windows containers and is getting the following error:
~
docker: error response from daemon: hcsshim::CreateComputerSystem e1................8454: The container operating systems does not match the host operating system
~
Resolution
-
Ensure that the container base image is of the same Windows OS version and build number that is running on the node.
-
An example Scenario is given below. Here the build number is 19042
OCP windows node version: 10.0.19042.1706
Failed container os version: 10.0.14393.5192
Successful container os version: 10.0.19042.1766
Root Cause
Incompatibility between the Image and node operating systems
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments