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

Auto-update MindsDB Container When New Image is Released #6

Closed
MinuraPunchihewa opened this issue Apr 5, 2024 · 1 comment · Fixed by #12 or mindsdb/mindsdb#9313
Closed
Assignees
Labels
enhancement New feature or request

Comments

@MinuraPunchihewa
Copy link

At the moment, since the extension is using Docker Compose to bring up the containers, if the MindsDB image (mindsdb/mindsdb:latest) has already been pulled by the user (or if the extension was installed) and a new version of the image is released subsequently, the extension will continue to use the old version of the image. This is the default behavior of Docker Compose.

Ideally, each time a new version of the MindsDB image (latest tag) is released, the extension should begin using it. However, one slight issue that arises in doing so is the fact that, because Docker Compose will spin up a brand new container with the new version of the image that is pulled, any changes that were made to the previous container will be lost. This applies mostly to the dependencies that are installed for integrations by the user; these will be lost as a result of the update.

Therefore, while the image is auto-updated, it is also necessary to persist the dependencies that were installed by the user across new versions.

@MinuraPunchihewa
Copy link
Author

Only partially resolved by #12

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
1 participant