Skip to content

Add stop hook support for external providers #13772

@mikesir87

Description

@mikesir87

Description

When using providers, the only lifecycle hooks currently available are up and down. It would be nice to also support stop.

Use case:

  1. Start a Compose stack using watch:

    docker compose up --watch

    The external provider is used to start the expected service.

  2. Stop the stack using Ctrl+C. All containers stop, but the external service has no hook to stop as well, leaving it up and running.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions