compose/pkg
Stephen Thirlwall a1f7be7b5c Don't exit on container destroy events
Fixes #8747

When the event is a container destroy, calling ContainerInspect returns
an error, because the container no longer exists. This causes both
`docker-compose up` and `docker-compose logs -f` to exit when removing a
stopped container.

This container has already emitted its die event, and has already been
cleaned up. I believe all that needs doing in this case is to early-out.

Signed-off-by: Stephen Thirlwall <sdt@dr.com>
2021-11-04 09:13:59 +01:00
..
api introduce up --wait condition 2021-11-03 18:22:29 +01:00
compose Don't exit on container destroy events 2021-11-04 09:13:59 +01:00
e2e Make service>build>dockerfile a simple filename 2021-10-20 10:24:08 +02:00
mocks Move compose v2 implementation under pkg/compose with dependencies 2021-06-15 15:52:48 +02:00
progress stop time.Ticker after use 2021-09-30 17:09:49 +02:00
prompt move compose-cli code into docker/compose/v2 2021-08-31 19:09:19 +02:00
utils Move compose e2e tests into pkg 2021-06-28 08:47:58 +02:00