Docker Container Performance Comparison on Windows and Linux Operating Systems
Anatoliy Sergeev, Eugenia Rezedinova, Анна Хахина · 2022
Docker virtualization technology is now widely used not just in Linux, but also in Windows. When working with containers, it's critical to understand how Docker's performance on Windows compares to Docker's performance on Linux. Is it reasonable to execute a Linux program in a Docker container on Windows? A test tool was created to evaluate Docker's performance on Linux and Windows. This software determines the speed at which simple arithmetic operations are performed, the speed at which RAM is used, and the speed at which read/write operations on a disk drive are performed. This software has been tested on both Linux and Windows operating systems using a Docker container. Docker's arithmetic and memory performance on Linux is marginally better than on Windows, according to testing. Significant performance reduction is found only when communicating with an NVMe SSD under Windows. Thus, in the majority of scenarios, running Docker on Windows makes sense and does not result in substantial performance reduction.