Official docker image

Is there a reason there isn’t an official docker image for streamlit. The unofficial ones ive seen e.g. https://hub.docker.com/r/aminehy/docker-streamlit-app have over 100K pull requests so it seems like an own goal to not have one. It would be great to have an official image even if its only marketed as for Dev/Test and production should be built unique by the user.

Having an all in one image that includes “best practice folder structure/setup” for hosting multiple streamlit apps and even maybe some of the current gallery examples presetup so people can see the workings of them and modify them to learn i think would be really handy

1 Like

Hi @Jordan1,

Thanks for sharing this question!

This is a good idea. We’ll look into it and let you know soon.

Maybe a new documentation section would help here? Many people are unfamiliar with Docker; if the purpose is to share best practices, I feel like adding a new section on “best practices or recommended layout” could reach many more people in the community.

In my opinion I would go the other way, and the documentation should start at how to run the appropriate docker command to start a preconfigured container. At the moment by not having one the documentation is essentially how to build an image and use docker which isn’t streamlits prerogative but without a pre built image is a necessity.

By starting with an environment to use to both learn and be able host from, it makes people comfortable and confident that if they go deeper down the rabbit hole of learning the software they won’t end up stuck later struggling to able to host their creation. Or at least that’s how I work.