docs: update Docker docs to use --init flag and fix container cleanup issues

This commit is contained in:
czlonkowski
2025-07-18 19:22:02 +02:00
parent 6e52afd5af
commit 04e0739bbd
2 changed files with 15 additions and 11 deletions

View File

@@ -136,7 +136,7 @@ For local Claude Desktop integration without HTTP:
```bash
# Run in stdio mode (interactive)
docker run --rm -i \
docker run --rm -i --init \
-e MCP_MODE=stdio \
-v n8n-mcp-data:/app/data \
ghcr.io/czlonkowski/n8n-mcp:latest
@@ -152,6 +152,7 @@ Configure Claude Desktop:
"run",
"--rm",
"-i",
"--init",
"-e", "MCP_MODE=stdio",
"-v", "n8n-mcp-data:/app/data",
"ghcr.io/czlonkowski/n8n-mcp:latest"