[英]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).假设我有一个使用 chrome 的main.py
脚本,它主要依赖于pyautogui
和tkinter
库(GUI 库)。
Is it possible to run a headless windows virtual machine inside a docker container that heavily depends on GUI?是否可以在严重依赖 GUI 的 docker 容器内运行无头 windows 虚拟机?
You can use Nano-Server from Microsoft to run Windows Headless on a docker container您可以使用 Microsoft 的 Nano-Server 在 docker 容器上运行 Windows Headless
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.我的建议是使用 Ubuntu 或 Alpine Linux 图像作为替代方案,因为它用于运行 python 脚本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.