Tool for running Docker based tests from multiple projects on one machine

Wait 5 sec.

https://github.com/juzhxng/docker-test-toolkit I kept having problems when several projects (mostly coding agents in my case) ran integration tests on the same machine at once. They compete for memory, a killed run leaves containers and networks behind, and the usual fix of docker system prune takes out everyone else’s stuff too. What this does: runs declare a memory/CPU budget and queue until the host has room every resource gets recorded before it’s created, cleanup only removes those, no pruning if a run crashes the next one finds it and cleans up runs that are compatible can share a daemon works with any language: Python projects use the API directly, anything else talks to it over a small NDJSON bridge optional hook that stops coding agents from running docker commands directly Your compose files and tests mostly stay as they are. It’s one .pyz file, stdlib only, needs Python 3.12+ on the host. macOS or Linux with Docker Desktop, Colima, Podman or Docker Engine (OrbStack isn’t supported right now). Apache 2.0. Happy about any feedback, especially if you’ve solved this some other way and think I’m overcomplicating it. Thanks!   submitted by   /u/Kemoyin [link]   [comments]