Skip to content

feat: install latest docker-mcp plugin in sbx template#3545

Merged
dgageot merged 2 commits into
mainfrom
install-docker-mcp-sbx-template
Jul 9, 2026
Merged

feat: install latest docker-mcp plugin in sbx template#3545
dgageot merged 2 commits into
mainfrom
install-docker-mcp-sbx-template

Conversation

@dgageot

@dgageot dgageot commented Jul 9, 2026

Copy link
Copy Markdown
Member

The docker-mcp CLI plugin needs to be available inside the sandbox template image so agents running in that environment can invoke MCP tooling out of the box. Without it, users hitting the sbx template get a missing-plugin error the first time they try to use docker-mcp commands.

The template stage of the Dockerfile now downloads and installs docker-mcp into ~/.docker/cli-plugins for the agent user. Because every release in the docker/mcp-gateway repo is marked as a pre-release, the standard releases/latest/download redirect returns a 404; the install script instead hits the GitHub releases API to resolve the newest tag, then fetches the architecture-matching tarball and extracts the binary directly into the plugins directory.

Validated by building the template stage locally and confirming docker-mcp --version reports v0.43.1.

dgageot added 2 commits July 9, 2026 09:18
Signed-off-by: David Gageot <[email protected]>
All mcp-gateway releases are prereleases, so the GitHub /releases/latest
redirect doesn't work; resolve the newest tag via the releases API instead.

Assisted-By: Claude
@dgageot
dgageot requested a review from a team as a code owner July 9, 2026 07:27
@aheritier aheritier added area/mcp MCP protocol, MCP tool servers, integration kind/feat PR adds a new feature (maps to feat:). Use on PRs only. labels Jul 9, 2026
@dgageot
dgageot merged commit d593898 into main Jul 9, 2026
14 checks passed
@dgageot
dgageot deleted the install-docker-mcp-sbx-template branch July 9, 2026 08:02
Piyush0049 pushed a commit to Piyush0049/docker-agent that referenced this pull request Jul 10, 2026
Piyush0049 pushed a commit to Piyush0049/docker-agent that referenced this pull request Jul 15, 2026
…plate

feat: install latest docker-mcp plugin in sbx template
Piyush0049 pushed a commit to Piyush0049/docker-agent that referenced this pull request Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/mcp MCP protocol, MCP tool servers, integration kind/feat PR adds a new feature (maps to feat:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants