Jump to content

Automatic start-stop docker containers when idle


berndv

Recommended Posts

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!

Link to comment
  • 2 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...