> ## Documentation Index
> Fetch the complete documentation index at: https://opencompass-docs-preview-pr-335-0.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Docker

Run Docker on the machine that starts AgentCompass and make sure the current user can access its daemon. The task image must contain the commands and dependencies required by the Benchmark and Harness.

## Configure

```bash theme={"system"}
agentcompass run <benchmark> <harness> "$MODEL_NAME" \
  --env docker \
  --env-params '{"setup":{"image":"python:3.13-slim"},"platform":"linux/amd64"}'
```

## Provider Params

Every provider accepts the [common Environment schema](/en/user_guide/modules/environments/configuration/overview) plus its own declared provider options. Use the command below to list all accepted keys. Pass provider options alongside shared fields in `--env-params` or the flat YAML provider section. Image, resources, outbound policy, and environment variables retain their unified entry points; native aliases and unknown keys are rejected.

```bash theme={"system"}
agentcompass config docs env docker
```

<a id="resources" />

Use `resources`, `run_resources`, and `evaluation_resources`. Provider capabilities still differ: unsupported requirements fail explicitly, while storage limits follow the documented provider support policy. See [Resource Limits](/en/user_guide/modules/environments/configuration/resource_limits).

## Provider Behavior

Supports registry images, working directories, startup commands, and dynamic outbound policies. Normal cleanup removes the task container; `--keep-environment` retains it.

Use `setup.workdir` for the default command directory and `setup.build_timeout_seconds` for environment creation. The Benchmark selects the task workspace independently through its prepared input; neither setting replaces that workspace or an individual command timeout.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.