Skip to content

Unable to start prebuilt docker image #723

@GolanTrevize10

Description

@GolanTrevize10

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:

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions