docker-python-lab
Installation
SKILL.md
Docker Python Lab Generator
What This Skill Does
Generates interactive Python lab blocks for MkDocs pages in the learning-python
textbook (or any MkDocs project following the same pattern). Each lab shows a
code editor, Run and Reset buttons, and an output area. Code runs inside a fresh,
isolated Docker container via a local HTTP service on port 5001.
This is the Docker counterpart to the Skulpt lab pattern — same look and feel, but students run real Python (not browser-emulated Python) with access to the full standard library and third-party packages.
Prerequisites: Shared Infrastructure
Before generating any lab block, make sure the shared files exist. Check once per session; skip if already in place.