Database / BetterDB Interview questions
Why doesn't BetterDB Monitor's Docker image bundle SQLite support?
The documentation explicitly lists SQLite support as excluded from the Docker image, pointing users to PostgreSQL or Memory storage instead.
The practical reason is that the sqlite backend depends on better-sqlite3, a native Node.js module that has to be compiled per platform and architecture.
Since the image already ships multi-arch (linux/amd64 and linux/arm64), including a native module would add build complexity and portability risk for a backend that's really meant for local development or the CLI, where you control the Node environment directly rather than a containerized one.
If you specifically want SQLite-style local persistence, the CLI install path supports it by installing better-sqlite3 yourself and setting STORAGE_SQLITE_FILEPATH; the Docker image simply isn't the vehicle for that particular backend.
More Related questions...