Skip to content

Winand/wine-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Containerized wine

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_name

If uv is needed it can be mounted during new image build as shown in Dockerfile.

Running GUI application

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-container

Install and start xterm (as an example):

apt update && apt install xterm
xterm

See Also

About

Docker container with Wine and Python for Windows preinstalled

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors