Sign inSign up

fermilab/fnal-dev-sl7

Sponsored OSS

By Fermilab

Updated about 2 months ago

Fermilab SL7 development node image

Image
Data science
0

10K+

fermilab/fnal-dev-sl7 repository overview

worker

This folder holds various Dockerfiles for worker nodes images

fnal-wn-sl6, fnal-wn-sl7 and fnal-wn-el8 are container images that provide an environment similar to the one on FermiGrid (actual FermiGrid nodes have only SL7). It includes a base Scientific Linux with the xrootd client from OSG and a few other commonly used packages. They will help to provide a portable, reliable and consistent environment anywhere in the distributed computing infrastructure.

These three images are made available on Docker Hub and as expanded Apptainer/Singularity images on OSG's CVMFS. To add a container to the OSG images it shold be added to the docker_images.txt file in the OSG CVMFS Singularly Image Repository.

Here are more information about adding your image to CVMFS and on using Singularity images on CVMFS.

How to use the workers and other images

You can run containers using these images on your workstation via Docker or Podman:

# Docker
docker run -it --name my-fancy-name fermilab/fnal-wn-sl7:latest /bin/bash
# Podman
podman pull docker.io/fermilab/fnal-wn-sl7
podman run -it fnal-wn-sl7 /bin/bash

You may base your containers on the Fermilab worker nodes by including it inside your Dockerfile (pick your desired worker):

FROM fermilab/fnal-wn-sl7:latest

On the distributed computing resources (Grid, Cloud, HPC, ...) you can use the same images via Apptainer/Singularity. This is an alternative virtualization product that by default runs in user space, exposes more of the OS, and mounts some local disks, making it more suitable for running unprivileged on shared computing resources.
Apptainer/Singularity can access the images out of Docker Hub or CVMFS:

# From Docker
apptainer shell docker://fermilab/fnal-wn-sl7:latest
# CVMFS
apptainer run -B/cvmfs -B/mu2e/data /cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest df -h

You can make the request by sending mail to [email protected] or For OSG-connect read more about how it works here. When you submit your job, add these options:

--lines='+SingularityImage=\"/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest\"'
--append_condor_requirements='(TARGET.HAS_SINGULARITY==true)'

When using GlidienWMS the worker images are normally selected by your experiment and you don't have to worry. You may anyway choose your own, e.g. by adding to your HTCondor submit file:

+SingularityImage="/cvmfs/singularity.opensciencegrid.org/fermilab/fnal-wn-sl7:latest"
# And possibly append to the requirements '&& (TARGET.HAS_SINGULARITY==true)'

HSF, the HEP Software Foundation, has some Carpentry-style training on how to use Docker and Apptainer/Singularity:

Tag summary

Content type

Image

Digest

sha256:2191aae07

Size

1004.1 MB

Last updated

about 2 months ago

docker pull fermilab/fnal-dev-sl7

This week's pulls

Pulls:

36

Last week