mirror of
https://git.adityakumar.xyz/vo-docker.git
synced 2024-12-04 19:12:52 +00:00
run vendetta online inside docker container
Dockerfile | ||
LICENSE | ||
README.md |
vo-docker
Vendetta Online in a Docker container
Use case: Easy to install on systems that do not follow FHS (Filesystem Hierarchy Standard). Tested on NixOS. Guix users tell your experience.
Steps:
- Download client installer into
~/.vendetta
- Clone the repo
- Build the container:
docker build -t vo .
- Run
xhost +local:
to allow the container to use GUI. - Run the container:
docker run -it --rm -e DISPLAY=$DISPLAY -e ALSA_CARD=sofhdadsp --device /dev/snd --device /dev/dri/card0 -v /tmp/.X11-unix/:/tmp/.X11-unix/ -v /home/user/.vendetta:/root/.vendetta vo
First time only: Install the client
- Play as usual.
Next time onwards you just need to follow steps 5 and 6 (and 4 if you shut down your computer).
Known issues:
- You cannot write into
~/.vendetta
as unprivileged user on host machine. This is by design. You can always place plugins as root or use the container to do the same.
Possible issues:
- You might not get sound. To fix it, run
aplay -l
in the container and use whatever card it displays next time you run the container. Put the value inALSA_CARD
. - If you have a dedicated GPU, you might consider passing
--gpus all
to thedocker run
command. It should use dGPU. I have not tested it.