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>
S
Stephen Thirlwall committed
a1f7be7b5c61660daca10f4dc3e385a77d258e22
Parent: 72e4519
Committed by Nicolas De loof <nicolas.deloof@gmail.com>
on 11/4/2021, 8:13:59 AM