PDA

View Full Version : Docker Image


schachteana
03-01-2019, 06:36 PM
*Note*: This currently does not work because the 18.04 repositories are not available anymore, only the archived ones. If you still want to follow this guide, please contact me. I'll fix this some day.

Hello,

for those of of you sick of the dependency madness for getting to run Regnum in Linux, here is a Docker Image buildfile. It does not do anything but spare you the dependency installation.


Install Regnum normally
Proprietary NVIDIA drivers require more manual setup and are somewhat compilcated to handle in this scenario (https://github.com/mviereck/x11docker/wiki/NVIDIA-driver-support-for-docker-container), so you will most probably want to install the open source graphics driver (nouveau – you can choose this in Ubuntu -> Software & Updates -> Additional drivers)
Install Docker (https://www.docker.com/products/docker-desktop)
Install x11docker (https://github.com/mviereck/x11docker): Convenience script to run Docker images as a graphical application
Get the files from here (https://github.com/phil294/regnum-docker), e.g. as a zip and extract
Open up a terminal, cd into that directory and run docker build -t regnum_docker. regnum_docker can also be another name
To start the launcher, run x11docker --gpu --pulseaudio --home -- -v "/path/to/regnum":/regnum -- regnum_docker. Replace /path/to/regnum with your installation directory of regnum, the one that contains the "live" folder


The Regnum Launcher should start and everything works as always