Skip to content

docker

OfficialAgent-readyInfraContainers / Infra

Containers, images, and compose workflows from the terminal.

The official CLI from Docker. Containers, images, and compose workflows from the terminal. Supports structured output — good for scripts and agents.

Task fit

containers, images, and compose workflows from the terminal.

Lane

Work with Kubernetes, Terraform, containers, and ops tooling with more confidence.

Operator brief

Use docker for containers, images, and compose workflows from the terminal.

Run `docker run hello-world` and see what comes back.

Repository family

Docker

First trust check

Docker responds and the daemon is reachable.

Safe first loop

Install, verify, then run one real command.

Infra inspection loop

Install command

$ brew install --cask docker

Operator pack

Copy or export the working notes for this CLI before handing it to an agent.

Verify

$ docker version

Docker responds and the daemon is reachable.

First real command

$ docker run hello-world

First steps

  1. 01Install docker.
  2. 02Run `docker version` first.
  3. 03Start with `docker run hello-world`.
  4. 04Install the infra CLI and verify kubeconfig, Docker context, or cloud credentials.

When to use / hold off when

Best for

containers, images, and compose workflows from the terminal.

Use this when

You're on Docker and want the official terminal experience.

Hold off when

You don't work with containers and infrastructure.

Trust and constraints

trusted100/100
OfficialInstall readyTrustedCaution
JSON outputYes
Non-interactiveYes
CI-friendlyYes

Why operators pick it

  • docker fits infra well, especially for containers, images, and compose workflows from the terminal.
  • It is the official CLI from Docker.
  • Good for scripts and agents.

Constraints

  • Start with read-only or dry-run commands.

Repository context

Other CLIs in this family

This is the only CLI surfaced from this family right now.

Facts and links

Install withbrew
Homebrew installs (30d)56.5K
GitHub stars5.8K
LicenseApache-2.0
UpdatedMar 25, 2026