https://github.com/hectorm/docker-wine
A Docker image for Wine based on Xubuntu on Docker.
https://github.com/hectorm/docker-wine
Last synced: 10 months ago
JSON representation
A Docker image for Wine based on Xubuntu on Docker.
- Host: GitHub
- URL: https://github.com/hectorm/docker-wine
- Owner: hectorm
- License: mit
- Created: 2019-07-07T20:02:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T22:10:02.000Z (over 1 year ago)
- Last Synced: 2025-04-28T15:18:33.376Z (about 1 year ago)
- Language: Makefile
- Homepage: https://hub.docker.com/r/hectorm/wine
- Size: 96.7 KB
- Stars: 11
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Wine on Docker
A Docker image for [Wine](https://www.winehq.org) based on [Xubuntu on Docker](https://github.com/hectorm/docker-xubuntu).
## Start an instance
### Docker CLI
```sh
docker run \
--name wine \
--detach \
--shm-size 2g \
--publish 3322:3322/tcp \
--publish 3389:3389/tcp \
--device /dev/dri:/dev/dri \
docker.io/hectorm/wine:latest
```
### Docker Compose
```yaml
services:
wine:
image: 'docker.io/hectorm/wine:latest'
shm_size: '2gb'
ports:
- '3322:3322/tcp'
- '3389:3389/tcp'
devices:
- '/dev/dri:/dev/dri'
```
> You will be able to connect to the container via SSH through 3322/tcp port and RDP through 3389/tcp port.
> **Important:** some software (like Firefox) need the shared memory to be increased, if you
encounter any problem related to this you may use the `--shm-size` option.
## Environment variables
* `UNPRIVILEGED_USER_UID`: unprivileged user UID (`1000` by default).
* `UNPRIVILEGED_USER_GID`: unprivileged user GID (`1000` by default).
* `UNPRIVILEGED_USER_NAME`: unprivileged user name (`user` by default).
* `UNPRIVILEGED_USER_PASSWORD`: unprivileged user password (`password` by default).
* `UNPRIVILEGED_USER_GROUPS`: comma-separated list of additional GIDs for the unprivileged user (none by default).
* `UNPRIVILEGED_USER_SHELL`: unprivileged user shell (`/bin/bash` by default).
* `SERVICE_XRDP_BOOTSTRAP_ENABLED`: enable xrdp bootstrap service, initialises user session on startup (`false` by default).
* `SERVICE_XORG_HEADLESS_ENABLED`: enable headless X server service (`false` by default).
## License
See the [license](LICENSE.md) file.