registry
registry copied to clipboard
Unable to start prebuilt docker image
Describe the bug I am trying to start a local container using the prebuilt image as it is described in the documentation. But when docker tries to initialize the image I get this error
Failed to connect to PostgreSQL: failed to ping PostgreSQL: failed to connect to user=1002340000 database=mcp-registry:
127.0.0.1:5432 (localhost): dial error: dial tcp 127.0.0.1:5432: connect: connection refused
[::1]:5432 (localhost): dial error: dial tcp [::1]:5432: connect: connection refused
I get same error if I try to deploy the image in Kubernetes
To Reproduce Steps to reproduce the behavior:
- Run this command in a machine with docker installed
docker run -p 8080:8080 ghcr.io/modelcontextprotocol/registry:latest
Expected behavior The container is correctly initialized and the MCP registry runs