only start current project services

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-05-17 11:00:00 +02:00
parent 0a02f7d108
commit 377bcd8048
No known key found for this signature in database
GPG key ID: 9858809D6F8F6E7E
2 changed files with 7 additions and 1 deletions

View file

@ -254,7 +254,9 @@ func runCreateStart(ctx context.Context, backend compose.Service, opts upOptions
return "", err
}
if opts.Detach {
err = backend.Start(ctx, project, compose.StartOptions{})
err = backend.Start(ctx, project, compose.StartOptions{
Services: services,
})
}
return "", err
})