Hacker News new | ask | show | jobs
by jbverschoor 90 days ago
I had similar issues about not stopping them. What I did for my sandboxing scripts was terminate the docker when no sessions were alive anymore. However, it still drains power when you’re actively using it (ssh, vscode).

https://github.com/jrz/container-shell