MarcSkovMadsen / awesome-streamlit

The purpose of this project is to share knowledge on how awesome Streamlit is and can be

Home Page:https://awesome-streamlit.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trouble using docker app

dumasl opened this issue · comments

I'm just beginning to use streamlit and was wondering how to use it from a docker container, somehow I found your project and lots of responses.

However I have trouble using your docker app and feel like I might be missing something:

docker run -ti -p 80:80 --entrypoint "streamlit" marcskovmadsen/awesome-streamlit:latest run app.py
Initialized tornado logs
Server state: None -> State.INITIAL
Creating new context for ws PREHEATED_REPORT_SESSION
No singleton. Registering one.
Watcher created for /app/app.py
ReportSession initialized (id=0)
Beginning script thread
Starting server...
Running script RerunData(widget_state=None)
Serving static content from /usr/local/lib/python3.7/site-packages/streamlit/static
OnScriptRunnerEvent: ScriptRunnerEvent.SCRIPT_STARTED
New browser connection: gather_usage_stats=True, sharing_enabled=False, max_cached_message_age=2
Server started on port 80
Server state: State.INITIAL -> State.WAITING_FOR_FIRST_BROWSER

  You can now view your Streamlit app in your browser.

  URL: http://0.0.0.0:80

Hashing arguments to set_logging_format of 213 bytes.
Hashing function set_logging_format in 170 bytes.
Cache key: 58a14a7193f513268e179c87de37b6f5
Memory cache MISS: 58a14a7193f513268e179c87de37b6f5
2019-10-30 09:45:29,478 streamlit.ReportSession: OnScriptRunnerEvent: ScriptRunnerEvent.SCRIPT_STOPPED_WITH_SUCCESS
2019-10-30 09:45:29,478 streamlit.ReportSession: OnScriptRunnerEvent: ScriptRunnerEvent.SHUTDOWN

I actually can't reach the 0.0.0.0 URL.

Is there something obvious I missed ?

Thanks you for your help

closing the issue, I did miss something obvious :)
came back to this after a while to understand 0.0.0.0 was in no way my local ip :s
thanks anyway