title: Best practice for communicating between docker containers
body: <p>I have two containers in my application running on a Raspberry pi. One container is a python container that takes sporadic input from I/O devices. The other container is running Electron JS. My question is what is the best way to push the data received by the python container from the I/O devices to the Electron JS app? I’m in between writing to a shared volume and using a websocket to communicate between the two containers, but don’t know which way is better, and why.</p>