Docker images for Infraware Terminal Arena Mode — competitive incident investigation challenges.
Each scenario is a self-contained Docker image with a broken environment to investigate, like a CTF for SRE/DevOps.
| Scenario | Directory | Image | Difficulty | Description |
|---|---|---|---|---|
| The 502 Cascade | scenarios/the-502-cascade |
infraware/arena-the-502-cascade |
Beginner | Web app returning 502 Bad Gateway — investigate Nginx + PHP-FPM |
# Build a scenario image
docker build -t infraware/arena-the-502-cascade scenarios/the-502-cascade
# Run with Infraware Terminal
cargo run --features arena -- --arena infraware/arena-the-502-cascadeEach scenario lives in its own directory under scenarios/:
scenarios/<name>/
Dockerfile # Image definition
scenario.json # Arena manifest (title, prompt, mission)
setup/ # Config files, scripts, application code
Every image must include /arena/scenario.json:
{
"title": "Scenario Name",
"prompt": {
"title": "INCIDENT ALERT - Priority: High",
"body": "Description of the incident...",
"environment": "Environment details",
"mission": "What the investigator needs to find"
}
}docker build -t infraware/arena-<scenario-name>:latest scenarios/<scenario-name>
# Example
docker build -t infraware/arena-the-502-cascade:latest scenarios/the-502-cascade# Login to Docker Hub (if not already authenticated)
docker login
# Push the image
docker push infraware/arena-<scenario-name>:latest
# Example
docker push infraware/arena-the-502-cascade:latest- Create a directory under
scenarios/ - Write a
Dockerfilebased ondebian:bookworm-slim - Set up the broken environment (misconfigured services, corrupted files, etc.)
- Add a
scenario.jsonmanifest - Ensure the image drops into an interactive shell on start
- Update the scenario table in this README
- Install common investigation tools (
curl,net-tools,procps,less,vim) - Use
supervisordto manage multiple services - Generate realistic log entries before dropping to shell
- Do NOT leave comments or hints in config files — the investigator should discover the root cause themselves