Start container on demand from Load balancer


I would to know if it s possible to have somes containers “sleeping” and activate them from the load balancer if a specific url is requested. When i say sleeping this is for started once containers

Or maybe i m wrong how to do this.

thanks for your help


I think what you are looking for is what is known as Function-as-a-Service (FaaS), server-less, or lambda. I have not tried it myself, but I believe this article is what you are looking for.

Thank you for the answer.
Yes i saw the serverless and i think it s a good concept.
But i would only launch a script for this, not recreate all the infra :slight_smile:
I wlll add a little http server to listen for this time, and digg into Fass in the next month.

Thks again for your time.