Configuration option for spare docker containers

If I remember correctly there should be a way to have a configurable number of containers waiting for users.
We have a couple of apps that load data upon starting, it would greatly reduce the loading time if we can always have a couple of container ready to use.
I cannot find this option in the documentation on the configuration file though.

Hi @WLigtenberg,

This is not yet supported in ShinyProxy (and therefore not documented) as the current model is to launch a container when the user clicks on the app.

Besides doing ‘lazy loading’ inside the Shiny app (maybe with some asynchronous calls), the current options at ShinyProxy side are described here:
https://discourse.openanalytics.eu/t/pre-initialise-application-container/638

Best,
Tobias

Just to add to this, I just got around to testing the suggestion by fmichielssen.

So when a user lands on the index page the container is started but unfortunately the container needs to be fully loaded before the user clicks on the application or else they receive an error.

I tested this using the dockerised version of shinyproxy