Skip to main content
Docker is the local container provider. Use it when you want reproducible execution without a cloud sandbox, or when a benchmark recipe can map task metadata to a local registry image.

First-Time Setup

  1. Install Docker Desktop on macOS, Windows, or desktop Linux. For Linux servers and CI machines, install Docker Engine.
  2. Start Docker Desktop or the Docker daemon.
  3. Verify that the local Docker client can talk to the daemon.
  4. If you need private images, authenticate with the registry before running AgentCompass.
  5. Run one AgentCompass task before scaling concurrency.
On Linux, if Docker works only with sudo, follow Docker’s post-install steps to add your user to the docker group:
Membership in the docker group grants broad host privileges. Use it only on machines where that security tradeoff is acceptable.

Registry Credentials

AgentCompass does not manage Docker registry credentials. The local Docker daemon pulls images, so authenticate with Docker first:
For a private registry, pass the registry host:
For Docker Hub automation, prefer a Docker personal access token instead of an account password.

AgentCompass Smoke Test

For supported benchmarks, recipes may set the image and workspace for you. Start with one sample:
This validates Docker image pull, container startup, file operations, harness execution, and benchmark evaluation together.

Basic Run

For custom container tasks, pass an image explicitly:
Use explicit image only for custom tasks or debugging. Public benchmark recipes should normally infer the image and workspace from task metadata.

Provider Params

Common Docker overrides live under environments.docker or --env-params: On Apple silicon or ARM hosts, some public benchmark images may be linux/amd64 only. Set platform when Docker reports an architecture mismatch, but expect emulation to be slower.

When To Prefer Docker

Troubleshooting