Usage with docker-compose:
version: '3'
services:
gui:
image: ascendntnu/ai-sim:1.0
tty: true
working_dir: /srv/ai-sim/src/ai-sim/
environment:
DISPLAY:
devices:
- /dev/dri
volumes:
- /tmp/.X11-unix:/tmp/.X11-unix
- .:/srv/ai-sim/:rw
network_mode: "host"
Then make the GUI run by allow the screen through unix sockets. On ubuntu this is done by mounting a volume and run xhost +local:root before docker-compose up gui.
Content type
Image
Digest
Size
205.5 MB
Last updated
over 8 years ago
docker pull ascendntnu/ai-sim