Freeze Docker containers on laptop to save power(github.com)
github.com
Freeze Docker containers on laptop to save power
https://github.com/muhammadn/docker-sleep
2 コメント
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
https://github.com/jrz/container-shell
I wrote this because i was frustrated at Linux boot times when i forgot to stop all my running containers and excessive use of power when i forgot (or often negelect) my running docker containers.