HUB
Sign inSign up
wine logo

tobix/wine

By tobix

•Updated 5 days ago

Docker image with wine/wine-staging

Image
Developer tools
Operating systems
9

100K+

tobix/wine repository overview

⁠Dockerfied wine & wine-staging

License GitHub last commit Docker image Docker Image Size (stable) Docker Image Size (devel) Docker Image Size (staging)

This is a docker container with wine or wine-staging installed. See https://www.winehq.org/⁠ https://wine-staging.com/⁠ for details.

⁠Tags

This repository provides different tags for different versions of Wine:

TagVersion
stableThe latest stable version of wine (at the time of writing, 11.0)
develThe latest development version of wine
stagingThe latest staging version of wine

⁠"Virtual" GUI

Wine can run some Windows console software without a display, but whenever a window needs to be opened, a display server (either X11 or Wayland) is required. There are some ways to start a "virtual" display server.

Since those wrapers fork stuff into the background, we use tini⁠ as the entrypoint, otherwise those scripts might hang.

⁠Headless Wayland server

This is the modern and preferred way. This container ships a custom tool (based on the xwayland-run⁠ tool suite) called wlwine-run, which makes it simple to run commands under wine while making sure everything terminates correctly. You can use it like this:

wlwine-run wine foo.exe

or, for multiple commands:

wlwine-run sh -c "\
    wine foo.exe && \
    wine bar.exe"
⁠Headless X11 via Xvfb

This way is deprecated and the tool might be removed in the future. If you use this way, you have to cleanup wineserver yourself:

xvfb-run sh -c "\
  wine foo.exe && \
  wine bar.exe && \
  wineserver -w"

Tag summary

Content type

Image

Digest

sha256:077206ae7…

Size

961 MB

Last updated

5 days ago

docker pull tobix/wine:staging