Преглед изворни кода

Ignore not only auto-removed containers but also "removal in progress" for orphan containers

Signed-off-by: Guillaume Tardif <[email protected]>
Guillaume Tardif пре 2 година
родитељ
комит
37d15d7e6b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      pkg/compose/down.go

+ 1 - 1
pkg/compose/down.go

@@ -274,7 +274,7 @@ func (s *composeService) removeContainers(ctx context.Context, w progress.Writer
 				Force:         true,
 				RemoveVolumes: volumes,
 			})
-			if err != nil && !errdefs.IsNotFound(err) {
+			if err != nil && !errdefs.IsNotFound(err) && !errdefs.IsConflict(err) {
 				w.Event(progress.ErrorMessageEvent(eventName, "Error while Removing"))
 				return err
 			}