Skip to content

evagena/geant4-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Geant4 Docker (with Qt/OpenGL GUI) on Linux

This repository provides a fully automated setup to run Geant4 (v11.2.1) inside a Docker container with Qt and OpenGL GUI support — specifically for Linux systems.

✅ Features

  • Builds Geant4 11.2.1 from source
  • Includes all Geant4 data libraries
  • Enables GUI via Qt and OpenGL
  • Runs the B1 example automatically
  • Persistent data volume (geant4data) so your work is saved

Getting Started

Prerequisites

  • Linux (Ubuntu, Fedora, Arch, etc.)
  • Docker installed
  • User added to Docker group:
    sudo usermod -aG docker $USER
    newgrp docker
    

Bonus Tip (Optional Security Note):

If your audience is technically inclined or cautious, you can optionally add:

> To revoke access after you're done, run:
>
> ```bash
> xhost -local:root
> ```

### Installation & Run

Clone this repository and run the setup script:

```bash
git clone https://github.com/evagena/geant4-docker.git
cd geant4-docker/utils
chmod +x run_geant4_linux.sh
./run_geant4_linux.sh

  

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published