Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

[POC] wine launcher thru nvidia container


Recommended Posts

Hi, same as steam requires 32bit, wine requires 32bit for some application(or games in that matter, e.g. Battle.Net)

So I created docker (basically same way steam one if made) and it seems to work. It would require wrapper to launch it and proper ebuild.

I'm not sure if I'm going to continue working on it, but if anyone want to take over or play starcraft 2 ?

https://github.com/funkycode/funtoo-wine-launcher - dockerfile

https://quay.io/repository/funkycode/funtoo-wine-launcher - docker image

to launch:


# Make folder for steam data




# Update to your image if you want



# Name of the container to be used


nvidia-docker run -ti --privileged --name ${WINE_CONTAINER} -e WINEPREFIX=/home/wine -e DISPLAY=$DISPLAY -e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/shm:/dev/shm -v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse -v ${STEAM_DATA_FOLDER}:/home/wine ${WINE_NVIDIA_IMAGE} bash

#example of how to launch battle.net in container (if it's installed, if not just downlaod it and copy to steam data folder and run wine inside container on that file)

wine  /home/wine/drive_c/Program\ Files/Battle.net/Battle.net\ Launcher.exe




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...