Please, check https://docs.docker.com/docker-for-win/troubleshoot/.
Issues without logs and details cannot be debugged, and will be closed.
Expected behavior
Container uses all the available cores.
Actual behavior
Container uses only 2 cores.
Information
The following command reports that only 2 cores are available. The cpu usage is also limited to only 2 cores.
docker run microsoft/windowsservercore WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessors
The issue can also be seen on Windows Server 2016 with hyperv isolation:
docker run --isolation=hyperv microsoft/windowsservercore WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessors
However running first command on Windows Server 2016 gives the expected output and the containers use all available cores.
Please, check https://docs.docker.com/docker-for-win/troubleshoot/.
Issues without logs and details cannot be debugged, and will be closed.
Expected behavior
Container uses all the available cores.
Actual behavior
Container uses only 2 cores.
Information
The following command reports that only 2 cores are available. The cpu usage is also limited to only 2 cores.
docker run microsoft/windowsservercore WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessorsThe issue can also be seen on Windows Server 2016 with hyperv isolation:
docker run --isolation=hyperv microsoft/windowsservercore WMIC CPU Get DeviceID,NumberOfCores,NumberOfLogicalProcessorsHowever running first command on Windows Server 2016 gives the expected output and the containers use all available cores.