{"id":17489335,"url":"https://github.com/igorbrites/wine","last_synced_at":"2026-04-28T11:33:58.491Z","repository":{"id":77720584,"uuid":"173352011","full_name":"igorbrites/wine","owner":"igorbrites","description":"Running (Some) Windows Apps on Linux Using Wine from a Docker Container","archived":false,"fork":false,"pushed_at":"2020-02-28T13:42:14.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T16:17:29.611Z","etag":null,"topics":["docker-container","hearthstone","linux","ubuntu","wine"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/igorbrites.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-01T18:47:00.000Z","updated_at":"2022-07-17T11:41:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"5d457345-ac54-4985-aa64-8fac1ba1a33c","html_url":"https://github.com/igorbrites/wine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/igorbrites/wine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorbrites%2Fwine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorbrites%2Fwine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorbrites%2Fwine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorbrites%2Fwine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/igorbrites","download_url":"https://codeload.github.com/igorbrites/wine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/igorbrites%2Fwine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32379348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T11:25:28.583Z","status":"ssl_error","status_checked_at":"2026-04-28T11:25:05.435Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-container","hearthstone","linux","ubuntu","wine"],"created_at":"2024-10-19T05:24:33.473Z","updated_at":"2026-04-28T11:33:58.469Z","avatar_url":"https://github.com/igorbrites.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Running (Some) Windows Apps on Linux Using Wine from a Docker Container\n\nInstead of download ~600 dependencies on your Linux by installing Wine, try this image!\n\nThe need to this aproach came from the will to play [Hearthstone](https://playhearthstone.com/) on my Ubuntu 18.04, without installing all the hundreds of [Wine](https://www.winehq.org/) dependencies.\n\nSo, inspired by [this post on LinuxConfig.org](https://linuxconfig.org/how-to-install-blizzard-battle-net-app-on-ubuntu-18-04-bionic-beaver-linux) on how to install it on Ubuntu, and [this post on ROS.org](http://wiki.ros.org/docker/Tutorials/GUI#The_isolated_way) on how to use Docker with XServer, and many other researches, I ended up with this image.\n\n## Supported tags and respective `Dockerfile` links\n\n### Stable\n- [`5.0.0-stable`, `stable`, `latest`](https://github.com/igorbrites/wine/blob/master/stable/Dockerfile);\n- [`4.0.3-stable`](https://github.com/igorbrites/wine/blob/master/stable/Dockerfile);\n- [`3.0.5-stable`](https://github.com/igorbrites/wine/blob/master/stable/Dockerfile);\n\n### Staging\n- [`5.2-staging`, `staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`5.1-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`5.0.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.21-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.20-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.19-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.18-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.17-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.16-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.15-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.14-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.13-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.12.1-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.11-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.10-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.9-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.8-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.7-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.6-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.5-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.4-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.3-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.2-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.1-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`4.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.21.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.20.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.19.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.18.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.17.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.16.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.15.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.14.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.13.0-2-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.12.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.11.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n- [`3.10.0-staging`](https://github.com/igorbrites/wine/blob/master/staging/Dockerfile);\n\n### Devel\n\n- [`5.2-devel`, `devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`5.1-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`5.0.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.21-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.20-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.19-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.18-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.17-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.16-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.15-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.14-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.13-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.12.1-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.11-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.10-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.9-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.8-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.7-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.6-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.5-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.4-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.3-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.2-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.1-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`4.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.21.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.20.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.19.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.18.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.17.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.16.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.15.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.14.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.13.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.12.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.11.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n- [`3.10.0-devel`](https://github.com/igorbrites/wine/blob/master/devel/Dockerfile);\n\n### Base\n\nBase image used by the other images:\n\n- [`base`](https://github.com/igorbrites/wine/blob/master/base/Dockerfile).\n\n## How to get it\n\nYou can build it by cloning [the GitHub repo](https://github.com/igorbrites/wine) and runing:\n\n```bash\ndocker build -t igorbrites/wine[:version] .\n```\n\nOr simply pulling ir from [Docker Hub](https://hub.docker.com/r/igorbrites/wine):\n\n```bash\ndocker pull igorbrites/wine[:version]\n```\n\n## How to use it\n\nFirst you have to create a volume to store all data that Wine usualy creates on your Home directory:\n\n```bash\ndocker volume create wine\n```\n\nThen, you have to run the container passing the app you want to run:\n\n```bash\n# Needed to share the X11 server with the container\nXSOCK=/tmp/.X11-unix\nXAUTH=/tmp/.docker.xauth\ntouch $XAUTH\nxauth nlist \"$DISPLAY\" | sed -e 's/^..../ffff/' | xauth -f $XAUTH nmerge -\n\ndocker run -it \\\n    --rm \\\n    # The volume with the current folder to run the app\n    --volume=\"$(pwd):/home/wine/Apps\" \\\n    # The wine volume to store the entire home\n    --volume=wine:/home/wine \\\n    # The volumes to share the X11 server\n    --volume=$XSOCK:$XSOCK:rw \\\n    --volume=$XAUTH:$XAUTH:rw \\\n    --env=\"XAUTHORITY=${XAUTH}\" \\\n    --env=\"DISPLAY\" \\\n    # The user inside the container to use\n    --user=\"wine\" \\\n    # The workdir to the current folder\n    --workdir=/home/wine/Apps \\\n    --net host \\\n    --name wine \\\n    igorbrites/wine[:version] wine64 MyAwesomeApp.exe\n```\n\nOr, you can use the `run` script on the repo, that does exactly this using the `latest` version.\n\n## Issues\n\nOnce the app is installed, to run it is a little tricky. You can use `./run bash` to get inside the container ans check where your app was inatalled, and then run it with `wine64`. Or, if you already know where it is inside the container, you can run it by `./run wine64 /the/full/path/to/file.exe`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorbrites%2Fwine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figorbrites%2Fwine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figorbrites%2Fwine/lists"}