compose/pkg/api
Jaime Soriano Pastor 5c1e5f3fc7 docker compose up always kills the containers on second Ctrl-C
Kill executed on the second Ctrl-C of docker compose up  was
filtering containers depending on its state. In some cases the
containers can reach an state for what these filters don't get
any container, and the command keeps reporting `no container to
kill`.

Remove this filtering, so it tries to kill any container it
finds, independently of its state.

Fixes https://github.com/docker/compose/issues/10661

Signed-off-by: Jaime Soriano Pastor <jaime.soriano@elastic.co>
2024-04-14 17:44:39 +02:00
..
api.go docker compose up always kills the containers on second Ctrl-C 2024-04-14 17:44:39 +02:00
api_test.go adopt compose-go/v2 2023-12-05 18:54:31 +01:00
dryrunclient.go Bump docker v26.0.0 2024-03-22 14:33:56 +01:00
errors.go deps: remove deprecated github.com/pkg/errors 2023-09-29 06:28:58 +02:00
errors_test.go deps: remove deprecated github.com/pkg/errors 2023-09-29 06:28:58 +02:00
io.go don't assume os.Stdout and rely on dockerCLI.streams 2022-12-20 23:52:25 +01:00
labels.go detect replacement container is created and inform printer so it attach and don't stop 2023-02-06 11:23:13 +01:00