Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 823 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 823 Bytes

CDFTOOLS Container

Build

(We use @kathoef's docker2singularity here.)

$ docker pull kathoef/docker2singularity:latest
$ docker build -f Dockerfile -t localhost/cdftools .
$ docker run --rm -v /var/run/docker.sock:/var/run/docker.sock:ro -v ${PWD}:/output \
  kathoef/docker2singularity singularity build cdftools.sif docker-daemon://localhost/cdftools:latest

Then, scp or rsync the cdftools.sif to wherever you want to use it.

See the Dockerfile for details.

Run

To see the help dialogue of cdfmoc with Docker:

$ docker run -v $PWD:/work -w /work cdftools:latest cdfmoc

And with Singularity / Apptainer:

$ singularity run -B $PWD:/work -W /work cdftools.sif cdfmoc