Skip to content

Commit b28378d

Browse files
committed
docs(docker): add --name mcpg to the docker run examples
Give the container a stable name in both the GHCR pull-and-run block (README) and the build-from-source block (installation.md), so operators can address it by name (docker logs mcpg, docker stop mcpg). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0122yLZLJ8t4W43sdN6BmTZc
1 parent e6b44f6 commit b28378d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ like `:0.6.5`):
9696

9797
```bash
9898
docker pull ghcr.io/devopam/mcpg:latest
99-
docker run --rm -p 8000:8000 \
99+
docker run --rm --name mcpg -p 8000:8000 \
100100
-e MCPG_DATABASE_URL=postgresql://user:pass@host:5432/db \
101101
-e MCPG_ACCESS_MODE=read-only \
102102
ghcr.io/devopam/mcpg:latest

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mcpg --version
5454

5555
```bash
5656
docker build -t mcpg https://github.com/devopam/MCPg.git
57-
docker run --rm -p 8000:8000 \
57+
docker run --rm --name mcpg -p 8000:8000 \
5858
-e MCPG_DATABASE_URL=postgresql://user:pass@host:5432/db \
5959
-e MCPG_ACCESS_MODE=read-only \
6060
mcpg

0 commit comments

Comments
 (0)