# Docker validation Adapter 0.5.0 is checked in real Docker containers, using recorded responses. Both `default` and `single_question` cover one real episode from each of the 19 study groups and all five scorer kinds. `default/json` and `single_question/json` each run 57 oracle/empty/incomplete cases; `single_question/plain` runs 111 cases, including wrong/invalid answers and option texts: 225 per framework, 1350 total. Matrix questions retain their full shape. This checks environment operation and rewards; it does not evaluate an LLM or train a policy, and does not replay every row of the full dataset. | Framework | Container check | | --- | --- | | verifiers 0.4.0 / v1 API | Native SingleAgentEnv, DockerRuntime, null harness, HTTP interception and scoring | | Harbor 0.24.0 | Native Trial, oracle agent container, answer artifact, separate verifier container | | OpenEnv 0.3.0 | Native EnvClient WebSocket reset/step against the container server | | NeMo Gym 0.7.0 | Native Resources Server container and typed HTTP `/verify` | | Scale AgentEnv 0.9.1334 / protocol 0.1.349 | Native local sandbox deploy, MCP observe/submit, TaskStep outcome, close | | AgentGym 0.2.0 | Native BaseTask/BaseEnvClient against the HTTP server container | `docker_validation.json` contains cases, expected/actual rewards, source hashes, image IDs, installed package versions and Docker version. Raw trial files and server/build logs stay under `outputs/docker-validation/`. No provider keys are needed. NeMo's check exercises the complete resources-server environment; model/agent servers and a training loop are outside this check. `plain_answers_validation.json` additionally audits all 343611 single-question rows with position/value oracles, option-label/position oracles and empty answers. Format details: [JSON/plain modes](response-formats.md). ## Serve the downloaded dataset Build from the root of the downloaded HF snapshot. Mount that directory at `/data` (the manifest and its Parquet paths must both be visible). ```bash docker build -f integrations/openenv/Dockerfile -t twin-openenv . docker run --rm -p 127.0.0.1:8000:8000 --mount "type=bind,src=$PWD,dst=/data,readonly" \ -e TWIN_SPLIT=test -e TWIN_SUBSET=single_question -e TWIN_RESPONSE_FORMAT=plain twin-openenv docker build -f integrations/agentgym/Dockerfile -t twin-agentgym . docker run --rm -p 127.0.0.1:8001:8001 --mount "type=bind,src=$PWD,dst=/data,readonly" \ -e TWIN_SPLIT=test -e TWIN_SUBSET=single_question -e TWIN_RESPONSE_FORMAT=plain twin-agentgym docker build -f integrations/nemo_gym/Dockerfile -t twin-nemo . docker run --rm -p 127.0.0.1:8002:8002 --mount "type=bind,src=$PWD,dst=/data,readonly" \ -e TWIN_SUBSET=single_question -e TWIN_RESPONSE_FORMAT=plain twin-nemo docker build -f integrations/scale_agentenv/Dockerfile -t twin-scale . docker run --rm -p 127.0.0.1:18765:18765 -e TWIN_SUBSET=single_question -e TWIN_RESPONSE_FORMAT=plain twin-scale ``` Scale's recipe embeds the dataset; keep the resulting image in trusted local storage. `default` is selected when `TWIN_SUBSET` is omitted. Existing Python client commands are in [frameworks.md](frameworks.md). ## Repeat the matrix Use Linux/WSL and a running Linux Docker engine. Set up the separate SDK Python environments described in [frameworks.md](frameworks.md), including AgentGym's pinned source SDK. The client commands below must use their matching environment. ```bash python scripts/docker_fixtures.py docker build --target validation -f integrations/verifiers/Dockerfile -t twin-validation-verifiers:0.5.0 outputs/docker-validation/context docker build -f integrations/openenv/Dockerfile -t twin-validation-openenv:0.5.0 outputs/docker-validation/context docker build -f integrations/agentgym/Dockerfile -t twin-validation-agentgym:0.5.0 outputs/docker-validation/context docker build -f integrations/nemo_gym/Dockerfile -t twin-validation-nemo:0.5.0 outputs/docker-validation/context docker build -f integrations/scale_agentenv/Dockerfile -t twin-validation-scale:0.5.0 outputs/docker-validation/context python scripts/run_docker_controllers.py verifiers python scripts/run_docker_controllers.py harbor # In the OpenEnv, AgentGym, NeMo and Scale SDK environments respectively: python scripts/verify_docker.py openenv python scripts/verify_docker.py agentgym python scripts/verify_docker.py nemo python scripts/verify_docker_scale.py python scripts/validate_plain_answers.py python scripts/report_docker_validation.py ``` The Harbor/verifiers controller uses the Docker socket and a disposable Linux volume for native callback sockets. It mounts the checkout at the same absolute path seen by the daemon. For Docker Desktop on Windows, the launcher translates `/mnt/d/...` to `/run/desktop/mnt/host/d/...`; use WSL Docker integration or set `DOCKER_HOST` to the accessible daemon socket. Controllers use host networking to reach sibling containers' published loopback ports. Scale uses an owned loopback-only registry for native local image pulling. Helpers remove their own containers/volumes and never prune unrelated Docker objects. The validation scripts create private-data fixtures locally. Publish only the explicit release allowlist, not `outputs/`, build contexts or oracle trial files.