mirror of https://github.com/docker/compose.git
detect stopped containers as "Created"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
f52bdc54d8
commit
d56745cba4
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue