Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marioa/eidftestdocker
Publishing a Test Docker image for the EIDF service
https://github.com/marioa/eidftestdocker
Last synced: about 2 months ago
JSON representation
Publishing a Test Docker image for the EIDF service
- Host: GitHub
- URL: https://github.com/marioa/eidftestdocker
- Owner: marioa
- License: apache-2.0
- Created: 2023-06-28T09:06:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-26T11:21:42.000Z (9 months ago)
- Last Synced: 2024-04-26T12:31:51.763Z (9 months ago)
- Language: R
- Size: 99.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EIDF Test Docker Image
Publishing a Test Docker image for the [*Edinburgh Internationa Data Facility* (EIDF) service](https://www.ed.ac.uk/edinburgh-international-data-facility).## Docker commands
I need to remember these.
### Build a docker image
```bash
$ docker build -t eidf .
```### Run the docker image
```bash
$ docker run -it eidf
```### Run and remove the image
```bash
$ docker run --rm eidf
```### Run images with volumes
```bash
$ 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`.
### Push image to dockerhub
Publishing to the github package registry requires authentication so publishing at [dockerhub](https://hub.docker.com/repository/docker/marioant/eidf/general) instead.
```bash
$ docker login
$ docker tag eidf marioant/eidf
$ docker push marioant/eidf
```