Skip to content

Commit 37d15d7

Browse files
committed
Ignore not only auto-removed containers but also "removal in progress" for orphan containers
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent a224780 commit 37d15d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compose/down.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ func (s *composeService) removeContainers(ctx context.Context, w progress.Writer
274274
Force: true,
275275
RemoveVolumes: volumes,
276276
})
277-
if err != nil && !errdefs.IsNotFound(err) {
277+
if err != nil && !errdefs.IsNotFound(err) && !errdefs.IsConflict(err) {
278278
w.Event(progress.ErrorMessageEvent(eventName, "Error while Removing"))
279279
return err
280280
}

0 commit comments

Comments
 (0)