The docker container hosts QEMU and the docker files to run Windows. The author probably chose this method because the dockur/windows project basically automates and simplifies the whole process of installing and configuring QEMU, and installing and configuring Windows etc.