{"schemaVersion":"opencli.cli.v1","slug":"docker","name":"Docker CLI","shortName":"docker","binaryName":"docker","maker":{"slug":"docker","name":"Docker","type":"org","url":"https://docker.com","officialPlatformMaker":true,"featuredBuilder":false},"category":"Containers / Infra","description":"The official CLI from Docker. Containers, images, and compose workflows from the terminal. Supports structured output — good for scripts and agents.","tagline":"Containers, images, and compose workflows from the terminal.","install":{"packageManager":"brew","command":"brew install --cask docker","packageName":null,"npmPackage":null,"brewFormula":null,"brewCask":"docker","crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"docker version","signal":"Docker responds and the daemon is reachable."},"quickStart":"docker run hello-world","exampleWorkflow":["docker run hello-world"],"agent":{"readiness":{"label":"Great for agents","score":75,"reasons":["Structured output is available for parsing.","Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/docker/agent.md","packMarkdown":"# OpenCLI Agent Pack: Docker CLI\n\nUse this when an AI agent needs to work with `docker`.\n\n## What this CLI is for\nThe official CLI from Docker. Containers, images, and compose workflows from the terminal. Supports structured output — good for scripts and agents.\n\nBest for: containers, images, and compose workflows from the terminal.\n\n## Agent readiness\nGreat for agents (75/100)\n- Structured output is available for parsing.\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install --cask docker\n```\n\n## Verify before real work\n```sh\ndocker version\n```\nExpected signal: Docker responds and the daemon is reachable.\n\n## Safe starting commands\n```sh\ndocker version\n```\n\n```sh\ndocker run hello-world\n```\n\n## Guardrails for agents\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use Docker CLI (`docker`) for containers, images, and compose workflows from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"containers, images, and compose workflows from the terminal.","useThisIf":"You're on Docker and want the official terminal experience.","skipIf":"You don't work with containers and infrastructure.","whatHappensNext":"Run `docker run hello-world` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["Containers","Images","Compose workflows"],"aliases":["docker cli"],"keywords":["containers images compose"],"tags":["official","agent-friendly","json-output","ci-friendly"]},"links":{"website":"https://docs.docker.com/engine/reference/commandline/cli/","github":"https://github.com/docker/cli","docs":"https://docs.docker.com/engine/reference/commandline/cli/","opencli":"https://opencli.co/cli/docker","markdown":"https://opencli.co/cli/docker/agent.md","json":"https://opencli.co/cli/docker.json"},"metrics":{"githubStars":5899,"latestRelease":"2026-06-05T13:11:38Z","license":"Apache-2.0","metricLabel":"Homebrew installs (30d)","metricValue":48841,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:31.735Z"}}