|
@@ -119,11 +119,14 @@ func (s *composeService) Up(ctx context.Context, project *types.Project, options
|
|
|
gracefulTeardown()
|
|
gracefulTeardown()
|
|
|
} else {
|
|
} else {
|
|
|
eg.Go(func() error {
|
|
eg.Go(func() error {
|
|
|
- return s.Kill(context.Background(), project.Name, api.KillOptions{
|
|
|
|
|
|
|
+ // Intentionally ignore errors, for cases where some
|
|
|
|
|
+ // of the containers are already stopped.
|
|
|
|
|
+ s.kill(context.Background(), project.Name, api.KillOptions{
|
|
|
Services: options.Create.Services,
|
|
Services: options.Create.Services,
|
|
|
Project: project,
|
|
Project: project,
|
|
|
All: true,
|
|
All: true,
|
|
|
})
|
|
})
|
|
|
|
|
+ return nil
|
|
|
})
|
|
})
|
|
|
return nil
|
|
return nil
|
|
|
}
|
|
}
|