NGEET / fates-tutorial

Repository for FATES tutorial and related documentation
1 stars 2 forks source link

Overwrite input data volumes if new input data containers are pulled #51

Open glemieux opened 2 months ago

glemieux commented 2 months ago

Given that docker volumes persist and protect data, when pulling a new docker image with updated/corrected input data to populate an image (e.g. data-elm-default) it is good practice to delete and recreate the volume. This should be possible to do with a pre-hook.

### Tasks
- [ ] Review if its possible to configure a volume to always overwrite existing data
glemieux commented 2 months ago

Name of issue changed given that docker compose itself doesn't have pre/post run hooks. See https://github.com/NGEET/fates-tutorial/issues/43#issuecomment-2329504479 for more information.