Skip to content

Commit f5d9c18

Browse files
authored
Merge pull request #972 from cliffhall/update-readme-about-docker
Update docker launch command
2 parents 1977e2a + 6de14a3 commit f5d9c18

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ The server will start up and the UI will be accessible at `http://localhost:6274
3434
You can also start it in a Docker container with the following command:
3535

3636
```bash
37-
docker run --rm --network host -p 6274:6274 -p 6277:6277 ghcr.io/modelcontextprotocol/inspector:latest
37+
docker run --rm \
38+
-p 127.0.0.1:6274:6274 \
39+
-p 127.0.0.1:6277:6277 \
40+
-e HOST=0.0.0.0 \
41+
-e MCP_AUTO_OPEN_ENABLED=false \
42+
ghcr.io/modelcontextprotocol/inspector:latest
3843
```
3944

4045
### From an MCP server repository

0 commit comments

Comments
 (0)