Sign inSign up

hasufell/wine

By hasufell

Updated over 8 years ago

Docker wine

Image
0

461

hasufell/wine repository overview

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 +

Tag summary

Content type

Image

Digest

Size

103.5 MB

Last updated

over 8 years ago

docker pull hasufell/wine