diff --git a/pkg/service/service.go b/pkg/service/service.go index 6a94f17..4f8ab2e 100644 --- a/pkg/service/service.go +++ b/pkg/service/service.go @@ -203,7 +203,9 @@ func (s *Core) stopDependenciesFor(ctx context.Context, cid string, cts *Contain for _, ct := range containers { if ct.IsRunning() { logrus.Infof("Stopping %s...", ct.NameID()) - go s.client.ContainerStop(ctx, ct.ID, container.StopOptions{}) + if err := s.client.ContainerStop(ctx, ct.ID, container.StopOptions{}); err != nil { + logrus.Warnf("Error stopping %s: %v", ct.NameID(), err) + } } } }