Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Battle.net games in Docker

This Dockerfile allows you to run Battle.net and play games with wine in an unprivileged container running in a standard Gnome desktop session.

Build

$ docker build . -t docker-battlenet

Use on a local machine

Create once with:

$ docker create \
    --name battlenet \
    -v /tmp/.X11-unix/:/tmp/.X11-unix/ \
    -v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native \
    -e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
    -e DISPLAY=$DISPLAY \
    --device /dev/dri \
    -v /share:/share \
    docker-battlenet

Then run it each time with:

$ docker start battlenet

Use on a remote VM through VNC with mediated GPU passthrough

Follow the instructions to setup mediated GPU passthrough (GVT-g) the pass those extra arguments to Docker create : -e MESA_LOADER_DRIVER_OVERRIDE=i965 --privileged --ipc=host.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages