☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Run Bokeh Python script in background

Community Support
louloizides
louloizides

I’m running Bokeh in a Docker container, and I want to run it in a headless fashion - just to generate png images on a continual basis.

Right now my entry point looks like this:
/usr/local/bin/bokeh serve --show /usr/local/spc.py

How do I set up the server to run the script as soon as it starts? Or am I better off running the Python script natively and using Bokeh as a library?

⌁   Link to post
Bryan
Bryan

@louloizides The Bokeh server is, first and foremost, a web server. If there are not any user connections that will be made, then does not sound necessary or suitable for what you describe. It sounds like you need a plain Python script that runs a loop, calling Bokeh functions.

⌁   Link to post

End of archived discussion · Replies are disabled