Skip to content

Improve README#1936

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:improve-readme
Mar 5, 2026
Merged

Improve README#1936
dgageot merged 1 commit intodocker:mainfrom
dgageot:improve-readme

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Mar 5, 2026

No description provided.

Signed-off-by: David Gageot <david.gageot@docker.com>
@dgageot dgageot requested a review from a team as a code owner March 5, 2026 06:28
Copy link

@docker-agent docker-agent bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Assessment: 🟡 NEEDS ATTENTION

This PR updates the README installation instructions from "copy" to "symlink". While symlinking is technically preferable (especially for package managers), the new instructions are incomplete and could confuse users.

Found 3 medium-severity documentation issues:

  • Missing symlink command syntax (ln -s)
  • Missing source path information for Homebrew installation
  • Incomplete instructions for binary release symlink setup

These gaps may lead to user confusion and installation failures, especially for users unfamiliar with symlinks.

**Docker Desktop** (4.63+) — docker-agent CLI plugin is pre-installed. Just run `docker agent`.

**Homebrew** — `brew install docker-agent`. Run `docker-agent` directly or copy the binary in `~/.docker/cli-plugins` and run `docker agent`.
**Homebrew** — `brew install docker-agent`. Run `docker-agent` directly or symlink the binary to `~/.docker/cli-plugins/docker-agent` and run `docker agent`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISSUE: Symlink instruction lacks the actual command syntax

The instruction says "symlink the binary to ~/.docker/cli-plugins/docker-agent" but doesn't provide the actual command. Users unfamiliar with symlinks won't know the syntax.

Consider adding the explicit command:

ln -s $(brew --prefix)/bin/docker-agent ~/.docker/cli-plugins/docker-agent

**Docker Desktop** (4.63+) — docker-agent CLI plugin is pre-installed. Just run `docker agent`.

**Homebrew** — `brew install docker-agent`. Run `docker-agent` directly or copy the binary in `~/.docker/cli-plugins` and run `docker agent`.
**Homebrew** — `brew install docker-agent`. Run `docker-agent` directly or symlink the binary to `~/.docker/cli-plugins/docker-agent` and run `docker agent`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISSUE: Missing source path information for Homebrew symlink instruction

The instruction doesn't specify where Homebrew installs the binary. Users need to know the source path (typically $(brew --prefix)/bin/docker-agent or /usr/local/bin/docker-agent) to create a proper symlink.

Consider clarifying the source location in the instructions.

**Homebrew** — `brew install docker-agent`. Run `docker-agent` directly or symlink the binary to `~/.docker/cli-plugins/docker-agent` and run `docker agent`.

**Binary releases** — Download from [GitHub Releases](https://github.com/docker/cagent/releases). Copy `docker-agent` binary in `~/.docker/cli-plugins` to be able to use `docker agent`, or use `docker-agent` directly.
**Binary releases** — Download from [GitHub Releases](https://github.com/docker/cagent/releases). Symlink the `docker-agent` binary to `~/.docker/cli-plugins/docker-agent` to be able to use `docker agent`, or use `docker-agent` directly.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ISSUE: Binary release symlink instruction missing source path and command syntax

The instruction says "Symlink the docker-agent binary" but doesn't explain:

  1. Where to place the downloaded binary initially
  2. The actual symlink command syntax

Consider providing a complete example:

ln -s /path/to/downloaded/docker-agent ~/.docker/cli-plugins/docker-agent

@dgageot dgageot merged commit ffe68e4 into docker:main Mar 5, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants