detect stopped containers as "Created"

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-02-12 12:03:15 +01:00
parent f52bdc54d8
commit d56745cba4
2 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,7 @@ func (s *composeService) getContainerStreams(ctx context.Context, container moby
Stdin: true,
Stdout: true,
Stderr: true,
Logs: true,
Logs: false,
})
if err != nil {
return nil, nil, err

View File

@ -114,6 +114,7 @@ func (s *composeService) ensureService(ctx context.Context, observedState Contai
w.Event(progress.RunningEvent(name))
case status.ContainerCreated:
case status.ContainerRestarting:
case status.ContainerExited:
w.Event(progress.CreatedEvent(name))
default:
eg.Go(func() error {