Lion Cipher Lab
Assess YOUR OWN Docker host with Docker Bench for Security and fix what it flags
- Cloud Security
- Beginner
- ~45 min
- Free · no account required
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
- running Docker Bench for Security on a Docker host you own
- reading PASS, WARN, INFO and NOTE lines
- scoping a run to one check group or to named containers
- relating a check number to a docker run flag
- starting a weak and a hardened container side by side
- re-running a single check to prove a fix
- knowing when a WARN is an environment artefact and not a finding
Steps in this lab
- The rule, and what the benchmark is
- Get the script and run a baseline
- Read the output: four labels and a score
- Start a weak container and a hardened one
- Scope the run to your two containers and read the result
- Fix it and re-run one check to prove it
- Look at the layer under the cluster
- The defender's view, and what a benchmark cannot tell you
Open the full interactive lab →