Lion Cipher Lab

Assess YOUR OWN Docker host with Docker Bench for Security and fix what it flags

Why it matters

A Docker host is the layer every container stands on, and a handful of settings decide how much a single container escape or mistake costs: whether containers run privileged, whether host folders are mounted into them, whether they share the host network, whether memory and filesystem are limited. The CIS Docker Benchmark turns these into numbered checks, and Docker Bench for Security runs them in a minute. The skill is not running the script; it is reading a WARN, knowing the docker flag behind it, and telling a real finding from an artefact of your environment.

What you'll learn

Steps in this lab

  1. The rule, and what the benchmark is
  2. Get the script and run a baseline
  3. Read the output: four labels and a score
  4. Start a weak container and a hardened one
  5. Scope the run to your two containers and read the result
  6. Fix it and re-run one check to prove it
  7. Look at the layer under the cluster
  8. The defender's view, and what a benchmark cannot tell you

Open the full interactive lab →

Keep learning