Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Eventdisplay/Eventdisplay_Docker

Repository files navigation

Eventdisplay with Docker

DOI

Docker files for different Eventdisplay applications - mostly for CTA and VERITAS.

Install Docker to run these images.

Dockerfiles

Docker files are available for the following applications:

Docker and Singularity

Build a singularity image using docker hub:

singularity build --sandbox eventdisplay-cta-dl1-prod3b-sct_v01.sif  docker://gernotmaier/eventdisplay-cta-dl1-prod3b-sct:v01

Build a singular image from a tar file:

find the docker image locally:

docker images

REPOSITORY                                    TAG                 IMAGE ID            CREATED             SIZE
eventdisplay-cta-dl1-prod3b-sct               latest              488f4c543443        22 hours ago        1.12GB
gernotmaier/eventdisplay-cta-dl1-prod3b-sct   v01                 488f4c543443        22 hours ago        1.12GB

export docker image to tar file:

docker save 488f4c543443 -oo eventdisplay-cta-dl1-prod3b-sct.tar

Import docker image to singularity:

singularity build --sandbox sing_from_tar eventdisplay-cta-dl1-prod3b-sct.tar

For a discussion on how to convert a Dockerfile into sinularity recipies, see here

Running singularity:

singularity exec -e --bind $(PWD)/sing_data:/data eventdisplay-cta-dl1-prod3b-sct_v01.sif /evndisp/run.sh gamma_20deg_0deg_run100___cta-prod3-sct_desert-2150m-Paranal-SCT.simtel.gz

Using directly the docker image:

singularity shell docker://gernotmaier/eventdisplay-cta-slib:v03

(remember possibly to set singularity cache to a different directory using $SINGULARITY_CACHEDIR

Container and CTA

See redmine for discussion of usage of containers in CTA.