compose/pkg
Laura Brehm 329ad73922 attach: close streams when done
When Compose is watching a project/reattaching streams on container
start, it will make new API `ContainerAttach()` calls every time a
container it's watching is started. However, it only closes the stream
when the context used to start the attach is canceled.

This means that if a user has a project with multiple containers where
containers keep restarting, Compose will attach to the new containers
but never close the previous streams, causing fds to pile up and
goroutines on the engine to get stuck.

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2024-09-10 14:55:48 +02:00
..
api feat(watch): Add --prune option to docker-compose watch command 2024-07-02 08:16:09 +02:00
compose attach: close streams when done 2024-09-10 14:55:48 +02:00
e2e Fix stop on file chane for sync-restart action 2024-07-25 16:28:47 +02:00
mocks go.mod: docker/docker and docker/cli v27.0.1-rc.1 2024-06-21 14:04:40 +02:00
progress Enhance JSON progress events with more fields. 2024-07-23 16:20:27 +02:00
prompt github.com/golang/mock is deprecated 2023-12-13 14:47:39 +01:00
remote Backport OpenBSD patches 2024-05-22 11:35:37 +02:00
utils logs: fix for missing output on container exit (#10925) 2023-08-23 08:57:18 -04:00
watch feat(desktop): synchronized file share integration (#11614) 2024-03-20 14:41:24 -04:00