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

Decrease sizing by removing useless docker pull #1810

Open
hart1dechu opened this issue Jan 22, 2025 · 2 comments
Open

Decrease sizing by removing useless docker pull #1810

hart1dechu opened this issue Jan 22, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@hart1dechu
Copy link

Is your feature request related to a problem? Please describe.
As new verison of one uptime release more and more, it seems like it is starting to become heavier and heavier. I am deploying one uptime using the docker compose method on a VM. When needing to upgrade, i am unfortunately not deploying it on a new VM, checking if everything works, then destroying the old VM. I am deploying on the same VM, which means i actually need twice as many storage size in order to download all the new images. With that, i am finding quite useless to always pull postgres/clickhouse/redis image if I am already using external one.
I dont know if I am the only one having this kind of issue

Describe the solution you'd like
Firstly, to reduce sizing, remove useless pulling docker images when not using the container at all anyway

Describe alternatives you've considered
Add some variable to enable/disable postgres/clickhouse/Redis container depending on if external variant are used instead. If you find any other container that you may thing may be useless because we could use an external variant, feel free to create a variable to disable it

Additional context
Add any other context or screenshots about the feature request here.

@hart1dechu hart1dechu added the enhancement New feature or request label Jan 22, 2025
@simlarsen
Copy link
Contributor

Please run docker system prune and that should delete all the unused images.

@hart1dechu
Copy link
Author

Well the thing is, postgres/redis/clickhouse images are used, since it spawns a container, even tho functionally i am not using them.
And yes, docker system prune is something i am doing using a cron that runs every 10min in case, but docker system prune doesnt work if all images are used. When deploying a new version, old images are still used until the new docker compose is running.
The problem is the storage, i have to pull new verison while keeping old version

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

2 participants