cn:csn5:isolpharm_ag:computing:geant4_docker
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cn:csn5:isolpharm_ag:computing:geant4_docker [2018/07/18 15:53] – [Use the Image] bagli@infn.it | cn:csn5:isolpharm_ag:computing:geant4_docker [2018/11/07 09:50] (current) – [Procedure] bagli@infn.it | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Geant4 Docker Image Isolpharm_Ag ====== | ||
| + | ===== Create the Image ===== | ||
| + | ==== Prerequisites ==== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | ==== Procedure ==== | ||
| + | Clone from GitHub the repository of the Geant4 code for the application and the docker image | ||
| + | |||
| + | < | ||
| + | |||
| + | < | ||
| + | |||
| + | Enter the directory '' | ||
| + | |||
| + | < | ||
| + | |||
| + | Substitute the '' | ||
| + | |||
| + | < | ||
| + | |||
| + | Build the binaries of the application | ||
| + | |||
| + | < | ||
| + | |||
| + | where the '' | ||
| + | The '' | ||
| + | |||
| + | Build the image | ||
| + | |||
| + | < | ||
| + | |||
| + | Tag the image | ||
| + | |||
| + | < | ||
| + | |||
| + | Push on Docker repositories | ||
| + | |||
| + | < | ||
| + | |||
| + | ===== Use the Image ===== | ||
| + | Pull the Docker image from the online repositories | ||
| + | |||
| + | < | ||
| + | |||
| + | Run the Docker image | ||
| + | |||
| + | < | ||
| + | |||
| + | where '' | ||
| + | |||
| + | ===== Close the Docker containers ===== | ||
| + | |||
| + | List all the containers | ||
| + | |||
| + | < | ||
| + | |||
| + | Stop all the running containers | ||
| + | |||
| + | < | ||
| + | |||
| + | Delete all the stopped containers | ||
| + | |||
| + | < | ||
