cyversevice/xpra
Ubuntu container with Xpra OpenGL and CUDA for running remote desktop applications in browser.
Image is built from NVIDIA Docker image and is compatible with GPUs - need to install additional software.
docker run -it -p 9876:9876 cyversevice/xpra:20.04
With a new ENTRYPOINT
:
docker run -it -p 9876:9876 cyversevice/xpra:20.04 xpra start --bind-tcp=0.0.0.0:9876 --html=on --start-child=xterm --exit-with-children --daemon=no
Run with NVIDIA GPU for CUDA
You need to have an xorg server running prior to launching.
export DISPLAY=:0
docker run --gpus all --rm -it -p 9876:9876 -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY -e XAUTHORITY -e QT_X11_NO_MITSHM=1 -e NVIDIA_DRIVER_CAPABILITIES=all cyversevice/xpra:cudagl-20.04
docker pull cyversevice/xpra