mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-10 14:34:58 +09:00
When only containerd.service was active, the HINT block still advised the operator to disable both containerd.service and docker.service, which is misleading and potentially dangerous on hosts where docker is legitimately in use. Track per service warnings (CONTAINERD_WARN and DOCKER_WARN) and build the HINT systemctl disable argument from the services that actually fired. Also guard the ANSI color escapes behind an 'is stderr a TTY' check so log files (CI and reviewer captures) do not accumulate raw escape sequences. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Aleksei Sviridkin <f@lex.la>