Use this when the system is struggling under the weight of orphaned containers.
@echo off
echo Too lazy to stop all the running containers? fine...
FOR /F %%i IN ('docker ps -q') DO docker stop %%i
echo Done.
pause
“I’m not lazy, I’m just highly motivated to do nothing efficiently.” — Anonymous