diff --git a/agent/agent.go b/agent/agent.go index e2e93d0844..0ae753b1ce 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -1158,6 +1158,9 @@ func (a *Agent) ShutdownAgent() error { for _, chk := range a.checkTCPs { chk.Stop() } + for _, chk := range a.checkDockers { + chk.Stop() + } var err error if a.delegate != nil {