Skip to content

hooks: ContainerList failure in removePreStartHookContainers aborts compose down teardown #14108

Description

@glours

This issue was filed by an AI agent on a human's behalf. The human submitter may not have independently verified the report.

In removePreStartHookContainers (down.go, introduced in PR #14091), a ContainerList error returns early and causes the whole down() to return an error, leaving networks and volumes unremoved. The call should warn-and-continue (matching the removal-failure behaviour below it) rather than aborting teardown.

Mentioned in #14091 review by @ndeloof (down.go:419).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions