Docker MCP security: do the runtime limits meet our requirement?
The runtime limits in Docker's MCP setup are built into the MCP Toolkit and Gateway themselves, not sold as a separate add-on. The Toolkit docs describe Docker Desktop 4.62 and later, and both the Toolkit and Catalog docs pages are marked Beta, so treat the behavior as moving. The limits you can rely on are the ones in the Gateway security model: containers do not receive the host environment by default, they start with no-new-privileges, they have CPU and memory limits, and host bind mounts default to read-only and cannot target known sensitive system or credential paths. Each MCP tool also runs in its own container limited to 1 CPU and 2 GB of memory, and servers have no host filesystem access until a user selects a mount.
These are defaults, and an operator can weaken them. The same security model says network egress is not denied globally, that servers can request disableNetwork or allowHosts, and that the Gateway can run with --block-network for stricter control. Signature verification is on by default only for images in the Docker Hub mcp namespace, and --verify-signatures=false is an explicit opt-out. Docker also lists prompt injection, tool-description poisoning and misuse of access you granted as out of scope for gateway vulnerability reports, so those risks stay with you to test. Review each server's network and mount settings and any opt-out flags before approving it.
The Gateway is Docker's open source component, but the governance layer built on it, MCP Gateway as part of Docker AI Governance, is invite-only with Docker Sales as the contact. No supplied fact states which plan or edition includes each control, so ask Docker Sales in writing which edition carries the controls you need, and whether the enforcement settings above can be locked by policy rather than left to each user. Docker's own FAQ calls its MCP security measures a best-effort approach that is not yet exhaustive and directs enterprise customers to their account manager for specific requirements. Make that answer part of your approval record, and retest the boundary yourself before staff connect agents to systems that matter.
Runtime limits by component and what the supplied docs confirm
This table lists each runtime control in the Docker MCP Toolkit and Gateway, its default state, whether an operator can change it, and the document that states it. Read the default column first, then the changeable column, to see where the boundary depends on your own settings. Entries marked as not stated need confirmation with Docker before you rely on them.
| Control | Default state | Operator-changeable setting | Source |
|---|---|---|---|
| Per-tool container limits | Each MCP tool runs in its own container limited to 1 CPU and 2 GB of memory | Not stated in the supplied docs; confirm whether limits can be raised or lowered | MCP Toolkit docs |
| Host filesystem access | No access to the host filesystem by default | User explicitly selects which servers receive file mounts | MCP Toolkit docs |
| Secret request blocking | Requests to and from tools that contain secrets are blocked | Not stated in the supplied docs; confirm scope and any override | MCP Toolkit docs |
| Host environment isolation | Containers do not receive the host environment | Not stated in the supplied docs; confirm how servers receive credentials | MCP Gateway security model |
| No-new-privileges and resource limits | Containers start with no-new-privileges and CPU and memory limits | Not stated in the supplied docs; confirm whether these can be disabled | MCP Gateway security model |
| Host bind mounts | Read-only by default; cannot target known sensitive system or credential paths | Mounts can be set; confirm whether writable mounts are permitted | MCP Gateway security model |
| Network egress | Not denied globally by default | Servers can request disableNetwork or allowHosts; gateway can run with --block-network | MCP Gateway security model |
| Image signature verification | On for Docker MCP images in the Docker Hub mcp namespace only | --verify-signatures=false is an explicit opt-out; third-party images are not verified | MCP Gateway security model |
| Prompt injection and tool poisoning | Out of scope for gateway vulnerability reports | Operator must test and control; not a gateway setting | MCP Gateway security model |
How the Gateway enforces the runtime boundary for each MCP tool
The runtime boundary for Docker MCP servers is set by three components working together: the MCP Toolkit in Docker Desktop, the MCP Gateway, and one container per MCP tool. The Toolkit is the management interface where servers are set up and connected to agents. The Gateway sits between the client and the servers as a centralized proxy, so every tool call passes through a single point that manages configuration, credentials and access control. Each MCP tool then runs in its own container, limited to 1 CPU and 2 GB of memory according to Docker's Toolkit documentation. Review the Gateway as the place where enforcement happens, not the agent, because the agent's requests are only as constrained as the Gateway allows.
Inside that boundary, the Gateway's security model says containers do not receive the host environment by default, start with no-new-privileges, and carry CPU and memory limits. Host access is limited to bind mounts that a user selects. Those mounts default to read-only and cannot target known sensitive system or credential paths. The same model does not deny network egress globally, so each server's disableNetwork or allowHosts setting and the gateway's --block-network option decide what a tool can reach. Check each server's mounts and network settings individually, and confirm whether any mount is writable.
On Docker Engine without Docker Desktop, the Gateway is not bundled. It is installed separately as the docker-mcp CLI plugin from the GitHub releases page. Do not assume the Desktop defaults carry over. Confirm on that install path that the same container limits, no-new-privileges setting, read-only mount default and network controls are in effect, and record the plugin version you tested. Docker's own FAQ describes its MCP security measures as a best-effort approach that is not yet exhaustive, so plan your own tests of the boundary, including prompt injection and abuse of access you granted, which Docker places outside its gateway vulnerability scope.
Where the boundary sits between an agent, the Gateway and tool containers
The request starts at the AI client, which sends a tool call to the MCP Gateway. The Gateway routes that call to a tool container that runs with its own CPU and memory limits, without the host environment, and with no-new-privileges set. File access is off unless the operator selects a mount, and mounts default to read-only. Network reach is the next decision point: a server can request disableNetwork or allowHosts, and the Gateway can start with --block-network. Signature checks apply when images are pulled, and --verify-signatures=false is the explicit opt-out for those checks. Review each of these settings before staff connect agents.
The request path from AI client through the Gateway to a tool container, with operator decision points.
Settings that decide how far a Docker MCP server can reach
Most of the reach of a Docker MCP server is set by a handful of operator choices, not by the server itself. The cards below cover the choices that change what a server can read, reach and run, and who on the team should own each one. Each one should be decided and written down before staff or agents connect.
File mounts and read-only access
By default, MCP servers have no access to the host filesystem, so every file mount is a decision someone made. Check which servers the team has given a mount, and whether each mount is read-only. The Gateway defaults host bind mounts to read-only and blocks known sensitive system and credential paths, but a writable mount on a project directory still lets a server change code. Platform engineering should approve each mount and review the list when servers change.
Gateway security modelNetwork policy per server
Network egress is not denied globally by default. A server can request disableNetwork to cut off outbound traffic or allowHosts to limit it to named destinations, and the gateway can run with --block-network for a stricter global stance. Without one of these, a server that reads sensitive data can also send it out. Security engineers should set a per-server network policy for every enabled server and test that an unlisted host is unreachable.
Signature verification on or off
Signature verification is on by default for Docker MCP images in the Docker Hub mcp namespace. Setting --verify-signatures=false is an explicit opt-out that accepts images without that check. Turning it off is sometimes needed for internal builds, but it removes the one automated check on image provenance. Security leads should keep verification on unless a named exception is approved, and record each exception with its owner and reason.
Third-party images outside the mcp namespace
Images outside the Docker Hub mcp namespace are not verified with Docker MCP signatures, so they carry the trust of their publisher only. Decide whether these are allowed at all, and if they are, who may add one and how its image is pinned and reviewed before use. An image from a community author can run with the same gateway access as a Docker-built server. Platform owners should keep an allowlist of approved images and block the rest by default.
How many servers and which entries
The Docker MCP Catalog mixes verified servers, partner tools, Docker-built servers and remote services such as GitHub, Notion and Linear. Each enabled entry adds tools that an agent can call and access it can use. Enable only the entries a named team needs, and remove the ones nobody uses. IT should own the enabled list, and each new entry should be reviewed against the access it gets before it is turned on.
Docker MCP CatalogResource limits and container defaults
Each MCP tool runs in its own container limited to 1 CPU and 2 GB of memory. Containers do not receive the host environment by default and start with no-new-privileges. Changing these limits, adding host environment variables or granting extra privileges widens what a server can reach. Platform engineering should treat any override as a change request, document it, and retest the server's access after the change.
MCP Toolkit docsHow the answer changes by deployment situation
On a managed laptop, the MCP Toolkit runs inside Docker Desktop 4.62 or later, the version the Toolkit docs describe, and the Gateway starts automatically in the background once the Toolkit is enabled. Each MCP tool runs in its own container limited to 1 CPU and 2 GB of memory, and servers have no access to the host filesystem until a user selects a file mount. Those are defaults, so the core limits apply without action.
- Default limits: Containers do not receive the host environment, start with no-new-privileges, and host bind mounts default to read-only.
- Settings that need an explicit choice: File mounts for each server, and any
--block-networksetting on the Gateway if egress should be stricter than the default. - Settings that weaken the boundary: Writable mounts, broad mounts over home or credential directories, and
--verify-signatures=false. - Network egress: Egress is not denied globally by default, so confirm which servers may reach which hosts through
disableNetworkorallowHosts. - Verify on the device: Check the installed Docker Desktop version and the mounts each server holds on a sample machine before approving the standard image.
Ask the endpoint team to confirm that the managed configuration matches these checks, since a laptop user can change mounts unless policy blocks it.
On Docker Engine without Docker Desktop, there is no bundled Toolkit, so the Gateway binary is installed separately as the docker-mcp CLI plugin from the GitHub releases page. The operator is responsible for the host, the container runtime and the Gateway process, so the limits that Desktop applies automatically must be confirmed on the server itself.
- Install source: Install the
docker-mcpplugin from the official GitHub releases page and record the version in change control. - Default limits to confirm: Per-container CPU and memory limits, no-new-privileges and read-only default bind mounts should be checked in the running containers, not assumed from documentation.
- Explicit settings: Use
--block-networkon the Gateway where the server does not need outbound access, and restrictallowHoststo named destinations. - Host exposure: Confirm which user runs the Gateway, which sockets and paths are mounted, and that sensitive system or credential paths are not reachable.
- Logs and review: Confirm how server-side logs are captured, since the Gateway runs on infrastructure your team owns.
Before go-live, ask whether the server image set matches the approved list and that signature verification has not been disabled on the host.
A team that allows only Docker-built or verified catalog images narrows the risk to images that Docker distributes from its Docker Hub mcp namespace, where signature verification is on by default. Partner tools and remote services listed in the catalog still reach outside systems, so this setup reduces supply chain risk but not the access the team grants.
- Default verification: Signature checks are on by default for images in the Docker Hub mcp namespace, so confirm that no one has set
--verify-signatures=false. - Catalog entry types: Verified servers, partner tools (such as New Relic, Stripe and Grafana), Docker-built servers and remote services (such as GitHub, Notion and Linear) carry different trust and data paths, so approve each type separately.
- Explicit limits still needed: Read-only mounts, network allowlists and the scope of each credential remain operator decisions.
- Out of scope for Docker: Prompt injection, tool-description poisoning and misuse of granted access are not covered by gateway vulnerability reports, so test them yourself.
- Vendor position: Docker's FAQ describes its MCP security measures as best-effort and not yet exhaustive, so ask your account manager for enterprise requirements in writing.
Verify that the approved list is enforced at the Gateway, not only in team guidance.
A team that runs images from outside the Docker Hub mcp namespace or builds its own custom server takes on the verification step itself. Docker signature checks do not cover third-party images outside that namespace, so the team must establish provenance, review the code and set every runtime limit explicitly rather than relying on defaults that were designed around Docker-built images.
- No Docker signature check: Third-party images outside the mcp namespace are not verified with Docker MCP signatures, so set provenance rules and pin image digests in your own process.
- Explicit runtime settings: Confirm resource limits, no-new-privileges, read-only mounts and
disableNetworkorallowHostsfor each custom server rather than accepting the general defaults. - Opt-out risk:
--verify-signatures=falseis an explicit opt-out, so record any use of it as an exception with an owner and review date. - Credential handling: Confirm where each custom server gets its secrets and that no host environment variables leak into it.
- Testing: Run prompt injection and tool-poisoning tests against the image, since Docker does not treat these as gateway vulnerabilities.
Before approval, ask the owning team for the build source, the dependency list and a written description of every file mount and network destination.
Order of work before the runtime boundary is approved
This sequence confirms which Docker MCP features and editions apply, fixes the server and image rules, sets mount and network policy per server, and tests the limits on the real install before any staff member connects an agent. Each step ends with evidence the approver can file.
Confirm edition and Beta status with Docker
Before any configuration, the IT or security lead asks Docker which edition and support terms apply to each feature in use: the MCP Toolkit, the MCP Catalog and the MCP Gateway, and whether AI Governance features are included. The Toolkit and Catalog docs pages are marked Beta, and the Gateway features that belong to Docker AI Governance are invite-only and handled through Docker Sales. Done when the written answer names each feature, its status and the contact who confirmed it. Keep that email or document with the approval file.
Record the Desktop version and install path
The platform engineer records the exact Docker Desktop version, the MCP Toolkit state and the install path for each machine or host. Docker Desktop with the Toolkit enabled runs the Gateway automatically in the background. On Docker Engine without Docker Desktop, the docker-mcp CLI plugin is installed separately from the GitHub releases page, so the binary version and source must also be logged. Done when an inventory lists each install, its Desktop or plugin version and how the Gateway was started. Treat any install not on the inventory as out of scope.
Set the server allowlist and image namespace policy
The security lead decides which catalog servers may run, using the four entry types in the Catalog (verified servers, partner tools, Docker-built servers and remote services) as separate approval categories. The policy also states whether images must come from the Docker Hub mcp namespace. Signature verification is on by default for that namespace, and images from other namespaces are not checked against Docker MCP signatures. Any opt-out of verification must be a named, approved exception. Done when a signed allowlist exists, with each server, its image source and the owner who approved it.
Set file mount and network policy per server
For each approved server, the reviewer decides whether it needs any host file mount and, if so, which directory and whether it must be read-only. The Toolkit blocks host filesystem access by default and requires the user to select mounts explicitly. Network egress is not denied globally by default, so the reviewer sets disableNetwork or allowHosts for each server, or runs the Gateway with --block-network where stricter control is required. Done when a per-server table lists mounts, mount mode, permitted hosts or network setting, and the reviewer who signed it. Any mount that targets a sensitive path should be rejected and recorded.
Verify the limits on the actual install
The tester checks each limit on the running install rather than trusting the documentation. Confirm each tool container is capped at 1 CPU and 2 GB of memory, that containers do not receive the host environment, that they start with no-new-privileges, that host bind mounts are read-only by default, that network settings match the policy from the previous step, and that signature verification is enabled for the allowlisted images. Inspect a running container to confirm each setting. Done when a dated checklist shows the observed value for every check, with screenshots or command output stored as evidence.
Test prompt injection and tool abuse before rollout
The security tester runs prompt injection, tool-description poisoning and misuse of granted access against the connected agent and each approved server. Docker places these risks outside its gateway vulnerability scope, so the organization must test and control them itself. Use illustrative test cases, such as a tool response that asks the agent to read a credential file or send data to an external host, and confirm the policy blocks or logs each attempt. Done when the findings report lists each test, the result, the fix applied and a retest that passes. Keep the report, the test cases and the retest record with the approval file.
What a security reviewer asks to see for the runtime boundary
This table pairs each question a security reviewer asks about the Docker MCP runtime with the evidence to collect and where the setting lives. Read it as a checklist for a test run: confirm each setting on the actual Desktop or Engine install, not only in the docs. The main takeaway is that several protections are defaults that can be widened by a per-server request, so the reviewer should record both the default and any override.
| Reviewer question | Evidence to produce | Where the setting lives |
|---|---|---|
| What CPU and memory can each MCP tool use? | Documented per-tool limit of 1 CPU and 2 GB memory, plus a container inspect output showing the applied limits on a running tool | MCP Toolkit container settings; Gateway CPU and memory limits in the Gateway security model |
| Can servers read the host filesystem? | List of servers with file mounts, the mount paths, and confirmation that the default is no host access | MCP Toolkit file mount selection per server; Gateway bind mount policy |
| Are host bind mounts writable? | Mount configuration showing read-only mode, and a test that a write attempt to a mounted path fails | Gateway host bind mount defaults (read-only) in the Gateway security model |
| Are sensitive system or credential paths reachable? | Negative test results showing mounts to known sensitive system or credential paths are refused | Gateway mount validation in the Gateway security model |
| How are secrets passed to servers? | Confirmation that containers do not receive the host environment, and a record of which credentials each server gets and where they are stored | Gateway container environment defaults; Toolkit secret handling for requests to and from tools |
| Do servers run with extra privileges? | Container inspect output showing no-new-privileges is set on each running server | Gateway container defaults in the Gateway security model |
| Is outbound network access restricted? | Per-server network settings (disableNetwork or allowHosts) and the gateway start flags, with a test of an egress request to an unlisted host | Per-server configuration for disableNetwork or allowHosts; gateway --block-network flag. Egress is not denied globally by default |
| Are images verified before they run? | Signature verification status for each image, with a list of any image outside the Docker Hub mcp namespace | Gateway signature verification, on by default for the Docker Hub mcp namespace |
| Has signature verification been turned off? | Gateway launch command and configuration showing whether --verify-signatures=false is set, with the approver and reason recorded | Gateway startup flag --verify-signatures |
| Which Gateway version and install path are in use? | Gateway version output, install method (bundled with Docker Desktop with the Toolkit enabled, or the docker-mcp CLI plugin on Docker Engine), and the release source | Docker Desktop MCP Toolkit (Desktop 4.62 or later per Docker docs); docker-mcp CLI plugin from the GitHub releases page on Engine |
Questions reviewers ask before approving Docker MCP servers
Do the Docker MCP runtime limits cost extra to use?
The runtime limits described in the Docker docs are part of the MCP Toolkit and Gateway design, and the supplied documentation does not list a separate charge for them. Confirm this in writing with your Docker account team, because the answer depends on your Docker Desktop version, your subscription and whether you use the Gateway through Docker AI Governance. Your real cost drivers are internal: the staff time to review each server, the work to write narrower mounts and network rules, and any outside testing you choose to buy. Ask Docker to state in the quote which features are included in your plan and which are add-ons.
Which Docker edition or plan includes the MCP security controls?
The MCP Toolkit docs describe Docker Desktop 4.62 and later and are marked Beta, so the exact feature set can change. The Gateway runs automatically when the Toolkit is enabled in Docker Desktop, while on Docker Engine without Docker Desktop you install the docker-mcp CLI plugin separately from the GitHub releases page. MCP Gateway as part of Docker AI Governance is invite-only, with Docker Sales as the contact. Ask which controls apply to your Docker Desktop version and which need the AI Governance offering, and get that mapping in writing.
Can we verify the Docker MCP limits ourselves?
Yes, and you should. The Gateway security model documents defaults such as no host environment passed to containers, no-new-privileges, CPU and memory limits, read-only host bind mounts and the option to run the Gateway with network blocking. Test each claim in your own environment: start a server, confirm it cannot read a sensitive path, confirm the network is limited to what you allowed and confirm that signature checks are active for the images you use. Record the results as evidence. Docker's own FAQ calls its security measures a best-effort approach that is not yet exhaustive, so treat the documentation as a starting point, not as proof.
What makes the effort to approve Docker MCP servers grow?
Effort rises with four things. The first is the number of servers, since each one needs its own review of image source, mounts, network access and secrets. The second is custom images, which fall outside the Docker Hub mcp namespace, are not verified with Docker MCP signatures and need your own provenance checks. The third is network needs: a server that needs an outbound host list or unrestricted egress takes more testing than one that can run with networking disabled. The fourth is file mounts, because each host path you grant is a permission you must justify and monitor. Ask any partner or internal team to scope these four items before work begins, so the effort is visible in the written scope.
Does Docker cover prompt injection and tool poisoning in its security model?
No. Docker lists prompt injection, tool-description poisoning and abuse of access you intentionally granted to a server as out of scope for gateway vulnerability reports. That means these risks stay with you to test and control. Limit each server to the tools and mounts it needs, review tool descriptions before enabling a server and test how an agent behaves when a web page, file or ticket contains hostile instructions. Document the residual risk and the approval rule your team applies, because the vendor's model will not carry that responsibility for you.
What should we request from the Docker account team before approval?
Ask for a written statement of which MCP Toolkit and Gateway controls apply to your Docker Desktop version and deployment, and whether your plan includes MCP Gateway under AI Governance. Request the list of enterprise requirements Docker will address, the current status of the Beta features you plan to use, the support path for security questions and the change notice process for security defaults. Also ask how signature verification is handled for any images you intend to use outside the Docker Hub mcp namespace, and what audit records the Gateway produces. Keep the answers with your approval record.
When is an outside security test of Docker MCP servers worth scoping?
Scope an outside test before you approve servers that will reach production data, hold credentials, write to systems of record or run on shared hosts. DeployOpen runs security testing that includes AI systems and agents, and an AI agent rollout security review covers prompt injection, tool and file permissions, data exposure, credential handling and admin settings, ending with a findings report and a retest. Such a review is most useful after you have set your defaults and before broad staff access. Agree the scope, deliverables and timeline in writing before work starts, since most engagements are fixed-scope.
How DeployOpen tests the Docker MCP boundary before rollout
DeployOpen plans, implements and security tests self-hosted platforms inside the client's own infrastructure, including AI agent and MCP setups. For Docker MCP security, that means checking the runtime boundary (containers, mounts, network egress, signatures and gateway settings) against the rules your organization has written down, then handing over findings and fixes.
How we scope
- Agree in writing which Docker MCP servers, Toolkit and Gateway settings, and client tools are in scope before work starts
- Record which servers need file mounts, network access or Docker Hub images outside the mcp namespace, and why
- Confirm the Docker Desktop version and Gateway deployment mode (Desktop or Docker Engine with the docker-mcp plugin) under test
How we build
- Set up a test environment in the client's infrastructure that mirrors the intended Toolkit and Gateway configuration
- Test prompt injection, tool-description poisoning and misuse of access granted to a server, which Docker places outside gateway vulnerability reports
- Check mount paths, read-only defaults, disableNetwork and allowHosts settings, and signature verification against the documented defaults
How we hand over
- Deliver a findings report that rates each boundary weakness and states the setting that caused it
- Provide written fixes for each finding, including the gateway and server configuration changes to apply
- Retest the corrected setup and document the evidence your security and compliance reviewers can check
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer when Docker MCP servers or catalog entries change
- Retest after Docker Desktop upgrades or new servers are approved, so the boundary is checked again before wider use
- Ask your Docker account manager for any enterprise-specific security requirements, since Docker's FAQ points enterprise customers there

