October 6, 20232 yr I have many docker containers running, most of them are standalone and have therefore no dependency. I have a reverse proxy in place (Traefik) I would like to shut down individual containers when they are not used within X minutes via the reverse proxy. Once a new connection comes in, I would like to have the container started automatically. My driver is not energy but Memory usage (RAM). Do you have any suggestions on where to start, or do you have experience with this? Thanks!
January 3, 20242 yr +1 I'm interested too. There are several solutions (including Traefik, it should support it - https://plugins.traefik.io/plugins/633b4658a4caa9ddeffda119/sablier) See also discussion here: https://www.reddit.com/r/selfhosted/comments/zx5ztb/automatically_stop_containers_when_not_in_use/ Edited January 3, 20242 yr by bagican
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.