Docker Hardened Images

Hardened Images Launch Lab

Build the dinner app (a Python app and a PostgreSQL database) on Docker Hardened Images: pull and run them, do a multi-stage build, scan with Docker Scout and run it all with Compose. Pick how you want to run the lab.

How the options differ

Docker Sandbox Docker Compose Simulated
You need The sbx CLI Docker and Docker Compose A web browser
Where it runs A microVM with its own private Docker engine Containers on your machine's Docker engine Entirely in your browser
Commands Real Real Scripted: same output for everyone
Docker sign-in Your host's sbx login, nothing to do in the lab docker login and docker login dhi.io in the lab None
Editing files VS Code in the browser VS Code in the browser sed commands and Save buttons
Clean up sbx rm removes everything the lab created docker compose down --volumes Nothing to clean up
Best for Taking the lab, isolated from your machine Taking the lab where sbx isn't available Previewing, revisiting or teaching the lab