Publishing a Test Docker image for the Edinburgh Internationa Data Facility (EIDF) service.
I need to remember these.
$ docker build -t eidf .
$ docker run -it eidf
$ docker run --rm eidf
$ docker run --rm --volume $(pwd)/input_data:/input_data \
--volume $(pwd)/output_data:/output_data eidf
Input data in the input_data
directory and the output data (Analytics Ready Data (ARD)) goes into output_data/data
and the metadata (resources.json
) goes into output_data/metadata
.
Publishing to the github package registry requires authentication so publishing at dockerhub instead.
$ docker login
$ docker tag eidf marioant/eidf
$ docker push marioant/eidf