services: xeyes: image: "carlomt/xeyes" stdin_open: true tty: true volumes: - X11-unix:/tmp/.X11-unix environment: - DISPLAY=${DOCKERDISPLAY} gears: image: "carlomt/gears" stdin_open: true tty: true volumes: - X11-unix:/tmp/.X11-unix environment: - DISPLAY=${DOCKERDISPLAY} geant4: image: "carlomt/geant4:latest" stdin_open: true tty: true volumes: - geant4-datasets:/opt/geant4/data:ro - .:/workspace geant4-gui: image: "carlomt/geant4:latest-gui" stdin_open: true tty: true environment: - DISPLAY=${DOCKERDISPLAY} volumes: - X11-unix:/tmp/.X11-unix - geant4-datasets:/opt/geant4/data:ro - .:/workspace prepare: image: "carlomt/geant4:latest" command: > /bin/bash -c " /opt/geant4/bin/geant4-config --install-datasets " stdin_open: true tty: true volumes: - geant4-datasets:/opt/geant4/data volumes: geant4-datasets: driver: local driver_opts: type: 'none' o: 'bind' device: './geant4-datasets' #change this path X11-unix: driver: local driver_opts: type: 'none' o: 'bind' device: '${X11FOLDER}'