# OpenCLI Agent Pack: Docker CLI

Use this when an AI agent needs to work with `docker`.

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

Best for: containers, images, and compose workflows from the terminal.

## Agent readiness
Great for agents (75/100)
- Structured output is available for parsing.
- Supports non-interactive/scripted use.
- Works well in CI or repeatable automation.

## Install
```sh
brew install --cask docker
```

## Verify before real work
```sh
docker version
```
Expected signal: Docker responds and the daemon is reachable.

## Safe starting commands
```sh
docker version
```

```sh
docker run hello-world
```

## Guardrails for agents
- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.

## Suggested agent instruction
You 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.

Source: OpenCLI
