Skip to content

Commit bd12e29

Browse files
authored
Merge pull request #84 from IBM/update-docs-for-docker
Add docker quick start in container.md
2 parents d1ca24f + 1149f07 commit bd12e29

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/docs/deployment/container.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ You can run MCP Gateway as a fully self-contained container. This is the recomme
44

55
---
66

7+
## Quick Start (Pre-built Container Image)
8+
9+
If you just want to run the gateway using the official OCI container image from GitHub Container Registry:
10+
11+
```bash
12+
docker run -d --name mcpgateway \
13+
-p 4444:4444 \
14+
-e HOST=0.0.0.0 \
15+
-e JWT_SECRET_KEY=my-test-key \
16+
-e BASIC_AUTH_USER=admin \
17+
-e BASIC_AUTH_PASSWORD=changeme \
18+
-e AUTH_REQUIRED=true \
19+
-e DATABASE_URL=sqlite:///./mcp.db \
20+
--network=host \
21+
ghcr.io/ibm/mcp-context-forge:latest
22+
23+
docker logs mcpgateway
24+
```
25+
26+
You can now access the UI at [http://localhost:4444/admin](http://localhost:4444/admin)
27+
728
## 🐳 Build the Container
829

930
### Using Podman (recommended)

0 commit comments

Comments
 (0)