Skip to content

gdimperi/geant4-physlab2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

geant4-physlab2

Requisites:

  • Linux: Docker packages
  • Windows: Docker desktop and X11 server installed and running (for example XMing)

Download image

To download image from command line

docker pull ghcr.io/gdimperi/geant4-physlab2/almalinux9-geant4:v1

Run container

Linux

sudo docker run -it --net=host --env="DISPLAY" --volume="$HOME/.Xauthority:/root/.Xauthority:rw"  ghcr.io/gdimperi/geant4-physlab2/almalinux9-geant4:v1

Windows

In Windows command prompt (you can run the command prompt from the Docker Desktop app)

set DISPLAY host.docker.internal:0
docker run -it --rm  -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/gdimperi/geant4-physlab2/almalinux9-geant4:v1 sh

Or you can use the bash shell of linux subsystem (Ubuntu on Linux)

docker run -it --rm  -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/gdimperi/geant4-physlab2/almalinux9-geant4:v1 sh

Run DEMETRA Geant4 application

su geant4user
source ~/setup.sh
cd ~/demetra-build
./DEMETRA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages