docker build -t tlauncher github.com/dm9pZCAq/docker-tlauncher
xhost +local:docker
allow docker to open window
docker run --rm -dit \
--device /dev/snd \
-e DISPLAY=$DISPLAY \
-v $HOME/.minecraft/:/minecraft \
-v /tmp/.X11-unix:/tmp/.X11-unix \
tlauncher
- --device /dev/snd - mount sound devices
- $HOME/.minecraft/ - directory to store minecraft data
- /tmp/.X11-unix - path to x11 control directory