<p>Streamlit server (run e.g. with <code>streamlit run app-name.py</code>) upon first run for each user requires interaction from her - accepting or rejecting this intro message:</p>
<pre><code>  Welcome to Streamlit!

  If you are one of our development partners or are interested in
  getting personal technical support, please enter your email address
  below. Otherwise, you may leave the field blank.

  Email:
</code></pre>
<p>Streamlit then waits for input, failing to daemonize (run in background), which quickly causes docker containers in Kubernetes or Openshift to crash (enter the famous crash-loop back off procedure).</p>
<p>How to avoid such crashing, by running Streamlit in headless/noninteractive mode?</p>

mirekphd
<p>In the <a href="https://docs.streamlit.io/library/advanced-features/configuration#set-configuration-options" rel="noreferrer">streamlit documentation</a> you can find a detailed list of configurable options.
Scroll down and you will find the headless option.
Just edit the config file.</p>
<p><code>headless = true</code></p>
<p>Please also refer to <a href="https://discuss.streamlit.io/t/supress-new-browser-window-once-app-is-started-execution/2018/2?u=yochanan_scharf" rel="noreferrer">this post</a>.</p>
