This base image contains a minimal wine
installation and Python for Windows (wine python3.12).
The image size is minimized to about 1GB using hardlinks in wine prefix path.
The primary purpose is to run Python CLI applications:
wine python3.12 -m venv venv
wine venv/Scripts/pip.exe install package_nameIf uv is needed it can be mounted during new image build as shown in Dockerfile.
Start an X Server on the host machine, e.g. MobaXterm X server.
Start a container with DISPLAY variable set to the host IP:
docker run -it --rm -e DISPLAY=192.168.1.100:0.0 -u root wine-containerInstall and start xterm (as an example):
apt update && apt install xterm
xterm