Skip to content

GUI Interface

Compare
Choose a tag to compare
@gosha20777 gosha20777 released this 17 May 10:24
· 155 commits to master since this release
74bd466

Create cross platform gui application

Use dockerfile to launch it.

CPU support for Windows/Linux (recommend)/MacOS X
GPU support ONLY for linux, only nvidia graphic support

Ussage

  1. Instalation

CPU

docker build -t rescuer_la .

GPU

docker build --file Dockerfile.gpu -t rescuer_la .
  1. Ussage

CPU

docker run --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--workdir=$(pwd) \
--volume="/home/$USER:/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
rescuer_la

GPU

docker run --rm \
--runtime=nvidia
-v /tmp/.X11-unix:/tmp/.X11-unix \
-e DISPLAY=unix$DISPLAY \
--workdir=$(pwd) \
--volume="/home/$USER:/home/$USER" \
--volume="/etc/group:/etc/group:ro" \
--volume="/etc/passwd:/etc/passwd:ro" \
--volume="/etc/shadow:/etc/shadow:ro" \
--volume="/etc/sudoers.d:/etc/sudoers.d:ro" \
rescuer_la