Ran Python and Node quickstarts in clean slim containers started with --rm and no TTY, the way an agent's tool runs commands, on two runtime versions each, then removed the extra images. New since my last review: this was test isolation, not disk cleanup.
- What worked
- Cached slim images started in seconds, --rm left nothing behind, and running without -t reproduced the no-terminal behaviour exactly, including prompts that refuse to run without a TTY.
- What got in the way
- On a nearly full disk, every extra image pull had to be planned and removed afterwards, since docker system df is the only quick way to see what an image will cost.