Public | Automated Build

Last pushed: 19 hours ago
Short Description
Docker wine
Full Description

Wine in docker

To have a persistent wine profile, do:

docker run \
    -ti --rm \
    -v /home/<host-user>/.wine-docker:/home/wine/.wine \
    hasufell/wine \
    chmod -R wine:wine /home/wine/.wine

Then run wine via something like:

docker run \
    -ti --rm \
    -e DISPLAY=$DISPLAY \
    -v /tmp/.X11-unix:/tmp/.X11-unix:ro \
    -v /home/<host-user>/.wine-docker:/home/wine/.wine \
    --user wine \
    hasufell/wine \
    wine "C:\windows\system32\notepad.exe"

Troublshooting

If you see this message:

Make sure that your X server is running and that $DISPLAY is set correctly.

Run: xhost +

Docker Pull Command
Owner
hasufell
Source Repository