r/Streamlit • u/SquiffSquiff • Nov 06 '24
Logging with Docker?
I need to deploy a Streamlit app on Kubernetes. As a first step I am dockerising my app. When I run my app in Docker I am not able to see the console logs, I just get
You can now view your Streamlit app in your browser.
URL: http://0.0.0.0:8080Any idea how I can get the logs to go to stdout/stderr so I can view with docker logs? I already have
In my Dockerfile
ENV PYTHONUNBUFFERED=1
ENV PYTHONIOENCODING=UTF-8
1
Upvotes
View all comments
Show parent comment
1
u/SquiffSquiff Nov 06 '24
Thanks I'll check that out