docker-agent-deploy
Skill by docker
Exposes a Docker Agent as an MCP, HTTP API, A2A, ACP or chat server, shares it through OCI registries, and runs evals to measure its quality. Built for developers who already have an agent config.
Install docker-agent-deploy
Built from the published package, never by AI.
git clone --depth 1 https://github.com/docker/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/docker-agent-deploy ~/.claude/skills/docker-agent-deployRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/docker/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/docker-agent-deploy ~/.gemini/antigravity-cli/skills/docker-agent-deployAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install docker-agent-deploy in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill covers three parts of Docker Agent: serving an agent to other software with docker agent serve, distributing it through an OCI registry with docker agent share, and checking its quality with docker agent eval. It lists five server modes (mcp, api, a2a, acp and chat). Each mode has a default loopback listen address and its own auth flags.
Sharing uses push and pull commands that work the same way as container images, with the same registry login. Evals use JSON session files and four scoring dimensions: tool calls, relevance, size and assertions. A --baseline regression gate can be used in CI. The skill is for developers who want to deploy, publish or test an agent. It assumes the agent.yaml file already exists and points to other skills for authoring and local runs.
Written from the project's SKILL.md and checked against it.
What it can do
- serve mcpServes an agent as an MCP server, using stdio by default or HTTP with the --http flag.
- serve apiExposes an agent or a directory of agent configs as a plain HTTP API under /api/agents.
- serve a2aServes an agent over the A2A protocol on a loopback address by default.
- serve chatProvides an OpenAI-compatible chat endpoint for an agent.
- share push and pullPublishes an agent config to an OCI registry and pulls one published by someone else.
- evalRuns agent evals in containers and scores tool calls, relevance, size and assertions.
- eval --baselineCompares eval results to a saved baseline and gates CI on regressions.
What you need
- The docker-agent CLI plugin, from Docker Desktop 4.63 or later, or standalone
- A Docker-compatible container runtime for evals (Docker Desktop, Docker Engine or Podman)
- Provider API keys such as ANTHROPIC_API_KEY or OPENAI_API_KEY for eval runs
- Docker registry login for sharing agents
Try asking
- Turn my agent into an MCP server I can connect to Claude Desktop.
- Publish my agent to Docker Hub so others can pull it.
- Set up evals for my agent and gate CI on regressions against a baseline.
Good to know
- Servers must not bind beyond loopback without an auth token or key; --insecure-no-auth overrides this and is an exception.
- serve acp runs over stdio only.
- docker agent eval needs a Docker-compatible container runtime.
- GITHUB_TOKEN and GH_TOKEN are not forwarded to eval containers automatically and must be passed with -e.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/docker-agent-deploy/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md8 KB -
agents/openai.yaml402 B -
assets/eval-session-example.json1 KB -
checks/verification.md2 KB -
references/eval-format.md3 KB
Show all 7 files
-
references/sources.md2 KB -
skill.yaml923 B
Alternatives to docker-agent-deploy
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
docker-agent-deploy: common questions
Can I expose a Docker Agent beyond localhost?
The skill says not to expose any server beyond loopback without authentication. Binding a server flag to a non-loopback address without an auth token or key is refused.
How do I gate CI on agent eval results?
Use docker agent eval with --baseline and --regression-tolerance. A previously passing eval that now fails always gates, while cost changes are reported but do not gate.
Does docker agent eval require Docker?
It requires a Docker-compatible container runtime, such as Docker Desktop, Docker Engine, or Podman via --container-runtime.
How do I install docker-agent-deploy?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is docker-agent-deploy free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is docker-agent-deploy safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to docker-agent-deploy?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
