From 8d2ec27f614041fc0b628c45e785f15160958de4 Mon Sep 17 00:00:00 2001 From: Jing Liu Date: Thu, 4 Apr 2024 06:21:45 -0500 Subject: [PATCH] switched from geant4/geant4 to physino/geant4 in compose.yml --- compose.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/compose.yml b/compose.yml index c69a26d..1a370c1 100644 --- a/compose.yml +++ b/compose.yml @@ -19,19 +19,13 @@ services: build: INSTALL/Docker # docker-compose build gears geant4: # docker-compose run geant4 - command: /usr/bin/bash # launch a command line to compile GEARS - image: geant4/geant4 # https://hub.docker.com/r/geant4/geant4 + command: vncserver + image: physino/geant4 profiles: [ "geant4" ] - privileged: true # https://stackoverflow.com/a/45081959/1801749 - environment: - - DISPLAY=host.docker.internal:0.0 - extra_hosts: - - "host.docker.internal:host-gateway" - volumes: - - /tmp/.X11-unix:/tmp/.X11-unix - - .:/root/gears - # https://docs.docker.com/compose/compose-file/#working_dir + ports: [ "8444:8444" ] + volumes: [ ".:/root/gears" ] working_dir: /root/gears + build: INSTALL/Geant4 root: # docker-compose run root command: /usr/bin/bash # launch a command line to run root