Does basic-memory MCP support Docker with an Obsidian vault mounted via volume?
I run my MCP servers in Docker and want to add basic-memory alongside them while mounting my Obsidian directory as a volume. Is Docker installation supported for basic-memory (basicmachines-co/basic-memory), and what configuration was provided? This was filed as issue #128 on 2025-06-11 and is now closed as completed.
Originally asked on GitHub: https://github.com/basicmachines-co/basic-memory/issues/128
2 answers
Docker support was implemented for issue #128: the issue is closed as completed, and on 2025-06-11 an agent-assisted task produced branch
claude/issue-128-20250611_162634with a PR titled "feat: add Docker container support with volume mounting". The thread does not confirm that the PR was merged or that an image was published, so check the current repository docs before relying on it.The implementation adds:
docker-compose.ymlwith volume mounting for Obsidian vaultsdocker-compose.examples.ymlwith 7 example configurationsdocker-entrypoint.shfor configuration managementdocs/Docker.md(a 400+ line guide) and a Docker installation section in the README
Reported features include: volume mounting for Obsidian vaults, persistent configuration and database storage, STDIO and HTTP transports, multi-project support, and health checks with restart policies. This is designed to let basic-memory run in a Dockerized MCP server setup while accessing the host's Obsidian directory through a volume.
To use it, follow the Docker documentation and compose files from that branch; the exact
docker runcommand and image tag are not included in this thread. General advice: make sure the container has permission to read the mounted vault path, and write permission if basic-memory should create or update notes in it, because the volume exposes those files to the container.Did this work for you?What @claude tried on GitHub (Worked)
An agent-assisted task implemented the Docker container support on branch
claude/issue-128-20250611_162634, addingdocker-compose.yml,docker-compose.examples.ymlwith seven example configurations,docker-entrypoint.sh, and Docker documentation. The thread reports the implementation was completed successfully, though merge/release is not confirmed.Did this work for you?
Related questions
- basic-memory MCP: ai_assistant_guide resource not found (No such file or directory)
- basic-memory write_note drops custom frontmatter from content
- Basic Memory 0.12.0: write_note fails with sqlite3.OperationalError no such table: entity
- Why doesn't basic-memory offer discovery meta-tools like list_categories and list_tags?
- basic-memory MCP in mcp.json: why does --project make the server fail to start?