-
Notifications
You must be signed in to change notification settings - Fork 117
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
feature-request: option to pin local registry image #804
Comments
An alternative approach which would satisfy the development use case would be to enable pulling a naked registry that only uses the local packages by tagging the image prior to the addition of the package data during the image build. This would reduce the pull size by about 100 fold and would be enable rapid iteration while developing/debugging packages. |
@efd6 yes, we are considering using a bare image for package development. elastic/kibana#70582 would also allow to do package development without even needing a registry. |
Is there a timeframe for this? It is a significant pain point for development. |
@efd6 is this an issue when running Btw, as part of the storage v2 efforts we have started to build a "lite" image, that could help with this. elastic/package-registry#770 can also help as then the local registry would be minimal. |
The happens when I do a stack up, even just to pick up changes for system testing with |
Umm, there may be some issue there, I think |
Yes, I currently have an outdated version of @efd6 what versions of |
Docker Compose version v2.6.1 |
We implemented the proxy mode, so I guess that this issue isn't relevant anymore. |
Is there documentation for how that would be used to solve this. |
No, it's enabled by default. It's transparent for developers. |
When bringing the stack up, currently elastic-package gets the latest snapshot of the registry. This is almost always the right thing to do. However, on occasions when the most current registry is not required, but the stack needs to be restarted the need to pull ~900MB impacts on developer iteration time, and in some cases available bandwidth.
It would be nice if it were possible for the user to pin the image that docker compose uses to the image that is available on local storage rather than getting the current snapshot.
The text was updated successfully, but these errors were encountered: