Skip to content

Demonstration of running a game in docker, using X11 forwarding, bind-mounted user directories, GPU and sound.

Notifications You must be signed in to change notification settings

liangwp/dockerised-wesnoth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerised Battle For Wesnoth

Requirements

  • Docker
  • Linux
  • X11
  • docker setup for gpu / opengl usage from within a docker container
    • docker version 20.10.8
    • docker-compose 1.29.2
    • nvidia driver 470.74, RTX3070
    • etc?
  • clone this repository

Setup

  1. Run the build script, to grab the host session's X11 cookie, embed into the docker image, and create the mounted directories if necessary
    • ./build.sh
  2. Edit docker-compose file, with the relevant setup for your gpu as necessary.
    • docker-compose up

Issues

  • Audio used to work, now doesn't work anymore... T_T
  • Toggling to/from full screen may cause the display and mouse cursor to not work correctly. Press ctrl-q to quit.

About

Demonstration of running a game in docker, using X11 forwarding, bind-mounted user directories, GPU and sound.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published