Docker MCP Gateway
Run and manage containerized MCP servers through Docker's MCP gateway and catalog.
Overview
Docker's MCP Gateway manages containerized MCP servers and exposes them to clients. It provides a catalog, secret handling, and a consistent runtime for local servers. Running MCP servers as containers can improve isolation, but the Docker socket itself is a high-privilege interface and must not be exposed casually.
Capabilities
- Run containerized MCP servers
- MCP catalog
- Secret configuration
- Local gateway
- Server lifecycle
Connection profile
- Transports
- stdio
- Authentication
- Docker socket; Container secrets
- License
- Apache-2.0
- Vendor
- Docker
- Repository
- github.com/docker/mcp-gateway
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
A documented preset is available for this server. It contains placeholders, not real credentials. Generate a client-correct file or review the raw values below.
docker mcp gateway run
Security notes
- Docker socket access is effectively host-level control; restrict who and what can reach it.
- Review community MCP images before running them and pin versions where possible.
- Pass secrets through Docker's secret mechanism rather than baking them into images or compose files.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Related failure modes
The process started but terminated before or during initialization. The root cause can be a missing dependency, invalid arguments, a crash in the server, a port conflict, or a client that closes stdin.
MCP server cannot read a file or execute a command (EACCES)The server process lacks operating-system permission for a file, directory, socket, or executable. This is an environment boundary problem: adding scopes to an MCP configuration does not change filesystem permissions.
Docker-based MCP server cannot reach the Docker daemonA Docker/container-based MCP server failed because the Docker CLI could not connect to the daemon. The usual causes are that Docker is not running, the socket path is wrong, or the client environment cannot access the socket.
Sources & evidence
- github.com/docker/mcp-gatewayRepository · checked Oct 23, 2026 · documented
Docker's official repository documents the MCP gateway, CLI usage, catalog, and secret handling.