seancheung / dockerwine

Docker wine images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dockerwine

Wine with xvfb/x11/tigervnc/noVNC over alpine in docker

This is x86_64 version of wine only(i.e. wine64). Check alpinewine if you need x86 version.

Image

docker pull seancheung/dockerwine:<tag>

Tags

tag description
latest i.e. novnc
wine wine x86_64
x11 wine x86_64 + xvfb + x11vnc
tigervnc wine x86_64 + tigervnc
novnc wine x86_64 + tigervnc + novnc

X11/tigervnc is a VNC server. NoVNC is a VNC web client.

Environments

Name default
WINEDLLOVERRIDES mscoree,mshtml=
WINEPREFIX /root/wine
SCREEN 0 1280x1024x16
DISPLAY :0
LANG en_US.UTF-8
LC_ALL en_US.UTF-8
VNCPASS

WINEDLLOVERRIDES: Wine DLL overrides.

SCREEN: This option creates screen screennum and sets its width, height, and depth to W, H, and D respectively. By default, only screen 0 exists and has the dimensions 1280x1024x8.

VNCPASS: The VNC server will not be exposed if no password set.

Usage

Wine

wine tag is used as base images. But you can still run programs headlessly with them.

To run a program in foreground:

docker run -d --name mywine -v /var/opt/myprogram:/path/to/myprogram seancheung/dockerwine
docker exec mywine wine64 /var/opt/myprogram/myprogram.exe

To run a program in background:

docker run -d --name mywine seancheung/dockerwine

cat > myprogram.conf <<EOF
[program:myprogram]
command=/usr/bin/wine64 /path/to/myprogram.exe
priority=100
stdout_logfile=/var/log/myprogram.stdout.log
stderr_logfile=/var/log/myprogram.stderr.log
EOF

docker cp myprogram.conf mywine:/etc/supervisor/conf.d/
docker exec mywine supervisorctl reload

For debugging purpose, add environment=WINEDEBUG=warn+all

x11/tigervnc

port description
5900 x11/tigervnc server

noVNC

port description
5900 x11/tigervnc server
8080 noVNC

About

Docker wine images

License:MIT License


Languages

Language:Shell 100.0%