csot/contest

Program guide

Instructions

Pick your week — setup, scoring, and how to submit.

Week 2 · Docker rescue

Docker Rescue Sprint

Twelve Docker tasks worth 200 points. Tasks 01, 02, 06, 10 use file submit; tasks 03–05, 07–09, 11–12 are live SSH incidents on the contest VM.

Set up

You need the csot CLI. Docker on your laptop is only required for submit tasks (01, 02, 06, 10). Live incidents run on the contest server — you fix them over SSH.

  1. Install or update the CLI:
    curl -fsSL https://csot-devops.devclub.in/install.sh | bash
    csot login
  2. Read task specs on the Tasks tab — symptoms only, no spoilers.

Per-task evaluation commands

Each task has one grading path. Live tasks have no file download — the broken stack lives only inside your sandbox.

# Task Mode Evaluate with
01Hello ContainerSubmitcsot submit ./solutions -w week-02 -t 01 · 01/Dockerfile
02Context LeakSubmitcsot submit ./solutions -w week-02 -t 02 · 02/.dockerignore
03Flapping StackLivecsot challenge start -w week-02 -t 03 → SSH fix → csot challenge verify
04Misleading RedisLivecsot challenge start -w week-02 -t 04 → SSH fix → csot challenge verify
05Migration Before ReadyLivecsot challenge start -w week-02 -t 05 → SSH fix → csot challenge verify
06Slim the ImageSubmitcsot submit ./solutions -w week-02 -t 06 · 06/Dockerfile
07Permission Rabbit HoleLivecsot challenge start -w week-02 -t 07 → SSH fix → csot challenge verify
08Data Ghost VolumeLivecsot challenge start -w week-02 -t 08 → SSH fix → csot challenge verify
09Exec RescueLivecsot challenge start -w week-02 -t 09 → SSH, fix inside container → csot challenge verify
10Container DoctorSubmitcsot submit ./solutions -w week-02 -t 10 · 10.sh
112 AM IncidentLivecsot challenge start -w week-02 -t 11 → visit URLs, SSH fix → csot challenge verify
12Full Stack RescueLivecsot challenge start -w week-02 -t 12 → SSH fix → csot challenge verify

Submit tasks only: csot submit ./solutions -w week-02 grades 01, 02, 06, and 10.

Live sandbox workflow

One sandbox per student (replaced when you start another task). TTL 12h. Files exist only on the VM under ~/incident-<task> — nothing to upload afterward.

  1. csot challenge start -w week-02 -t 11 — prints SSH host/port/password + live API/dashboard URLs.

  2. ssh incident@<host> -p <port>cd ~/incident-11, edit files, docker compose -p csot-<handle> up -d --build.

  3. csot challenge verify — or wait for auto-check every ~30s. Passing marks the task solved on the leaderboard.

csot challenge list -w week-02
csot challenge status    # cached creds while container is still running
csot challenge stop       # tear down early
Private. Your sandbox is only visible to you on this server.
AI agent policy. Giving an AI agent direct SSH access to your sandbox is penalised. AI agent access is detected automatically. Each detected session costs 2% of that task's points