Merge pull request #1163 from docker/stop-on-ctrlc

Stop project on Ctrl+C
This commit is contained in:
Guillaume Tardif 2021-01-26 17:08:32 +01:00 committed by GitHub
commit 3f474143ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 102 additions and 12 deletions

View file

@ -48,6 +48,10 @@ func (c *composeService) Start(ctx context.Context, project *types.Project, cons
return errdefs.ErrNotImplemented
}
func (c *composeService) Stop(ctx context.Context, project *types.Project, consumer compose.LogConsumer) error {
return errdefs.ErrNotImplemented
}
func (c *composeService) Up(context.Context, *types.Project, compose.UpOptions) error {
return errdefs.ErrNotImplemented
}