Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
glemieux opened this issue Sep 3, 2024 · 1 comment
Open
1 task
Labels
enhancement New feature or request

Comments

@glemieux
Copy link
Collaborator

glemieux commented Sep 3, 2024

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

Preview Give feedback
@glemieux glemieux added the enhancement New feature or request label Sep 3, 2024
@glemieux glemieux changed the title (Optional) docker compose pre-hook to auto delete input data volumes Overwrite input data volumes if new input data containers are pulled Sep 9, 2024
@glemieux
Copy link
Collaborator Author

glemieux commented Sep 9, 2024

Name of issue changed given that docker compose itself doesn't have pre/post run hooks. See #43 (comment) for more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant