Run This Ai
EN DE

How to Deploy OpenMemory with Docker: Step-by-Step Tutorial

Deploy OpenMemory with docker-compose in minutes, connect Claude Desktop, Copilot and Codex, and verify persistent memory across sessions.

OpenMemory gives your AI assistants a persistent local memory β€” and getting it running takes just a few minutes. In this tutorial, you'll deploy OpenMemory with Docker, connect it to your favorite AI tool, and verify it's storing memories correctly.

πŸš€ Want to deploy OpenMemory yourself?

Docker configs, system requirements, and installation guides β€” all on one page.

View OpenMemory Tool Page β†’

Step 1: Clone the Repository

The easiest path is the official docker-compose setup from the OpenMemory repo:

git clone https://github.com/CaviraOSS/OpenMemory.git
cd OpenMemory

Step 2: Start the Services

OpenMemory ships a ready-made docker-compose.yml plus a dashboard Dockerfile, so startup is one command:

docker compose up -d

Step 3: Open the Dashboard

Once the containers are healthy, open the web dashboard and create your first memory:

OpenMemory dashboard
  1. Open http://localhost:8080 (or the port mapped in your compose file).
  2. Create your user account and API key.
  3. Store your first fact β€” for example, a coding convention you want every tool to remember.

Step 4: Connect Your AI Tools

OpenMemory works out of the box with Claude Desktop, GitHub Copilot, Codex, and Antigravity. For each tool, add the OpenMemory endpoint and your API key as its memory backend. The VSCode extension in the repo (apps/vscode-extension) is a great starting point for editor workflows.

βœ… Verify it works: Ask your assistant a question it can only answer with information you stored earlier. If it recalls the memory across sessions, the setup is complete.

Troubleshooting Tips

IssueFix
Port already in useChange the host port mapping in docker-compose.yml.
Data lost after restartMake sure the ./data volume persists β€” don't use docker compose down -v.
Tool can't connectVerify the API key and use the correct endpoint URL (hostname, not localhost, for containers).

πŸš€ Deploy OpenMemory with full Docker configs

System requirements, compose files, and install guides β€” all on one page.

View OpenMemory Tool Page β†’
#openmemory #docker #tutorial #self-hosted