简体   繁体   中英

How to run windows headless server inside a docker container?

Suppose I got a main.py script that makes use of chrome, and it mainly depends of pyautogui and tkinter libraries (GUI libraries).

Is it possible to run a headless windows virtual machine inside a docker container that heavily depends on GUI?

You can use Nano-Server from Microsoft to run Windows Headless on a docker container

Nano Server

My suggestion would be using an Ubuntu or an Alpine Linux image as an alternative since it's being used to run a python script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM