MCPcopy
hub / github.com/docker/compose / Start

Method Start

pkg/compose/start.go:31–35  ·  pkg/compose/start.go::composeService.Start
(ctx context.Context, projectName string, options api.StartOptions)

Source from the content-addressed store, hash-verified

29)
30
31func (s *composeService) Start(ctx context.Context, projectName string, options api.StartOptions) error {
32 return Run(ctx, func(ctx context.Context) error {
33 return s.start(ctx, strings.ToLower(projectName), options, nil)
34 }, "start", s.events)
35}
36
37func (s *composeService) start(ctx context.Context, projectName string, options api.StartOptions, listener api.ContainerEventListener) error {
38 project := options.Project

Callers 1

startDependenciesMethod · 0.95

Calls 2

startMethod · 0.95
RunFunction · 0.85

Tested by

no test coverage detected