mirror of
https://github.com/andwati/dokploy.git
synced 2026-10-18 11:12:56 +00:00
dockerSafeExec's busy-wait matched any process with "docker <letter>" anywhere in its argv (e.g. Grafana's --packaging=docker cfg:...), causing the wait loop to spin forever. Anchor the match to the actual docker binary (argv[0]) instead, and add a MAX_WAIT ceiling so a genuinely stuck docker process can't hang cleanup indefinitely either. Also log failures in cleanupAll's catch instead of swallowing them, since the scheduled cleanup path only goes through this function. Fixes #5044