Docker
Prerequisites
Follow the instructions to install Docker from the official website.
Clone repository
Open the directory where the project will be locatedand and clone repository:
git clone https://github.com/AJedancov/twr.git &&
cd twr
Build Docker image
First you need to create a Docker image.
docker build -t twr:jazzy .
To render the GUI from a Docker container, you need to add a local user (docker) to the host X server:
sudo xhost +local:docker
Note
Currently, the GUI is only displayed when using the X Window System.
Run Docker container
And finally, you can run the container:
docker run -it \
--rm \
--net=host \
--volume /tmp/.X11-unix:/tmp/.X11-unix:rw \
--env=DISPLAY \
--name twr_jazzy_container \
twr:jazzy
Once you have the project built, you can continue with the usage examples.