Is it possible to programmatically spin up a docker container on render? [Is there a better way?]

Hi Render community,

Is it possible to programmatically spin up a docker container on render, and shut it down.

Background: The use case I have is, I want to run code, that might call external APIs. This is like a CMS backend, where people can write template, which may include external API. Currently am planning to run this in the backend of the app for MVP. Am worried we may hit the total sockets allowed per app.

So my thinking is, I can run every instance in a separate container. Is there a better way? Any thought is welcome

Thanks
Dheeban

1 Like