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

Method Create

pkg/compose/create.go:62–66  ·  view source on GitHub ↗
(ctx context.Context, project *types.Project, createOpts api.CreateOptions)

Source from the content-addressed store, hash-verified

60}
61
62func (s *composeService) Create(ctx context.Context, project *types.Project, createOpts api.CreateOptions) error {
63 return Run(ctx, func(ctx context.Context) error {
64 return s.create(ctx, project, createOpts)
65 }, "create", s.events)
66}
67
68func (s *composeService) create(ctx context.Context, project *types.Project, options api.CreateOptions) error {
69 if len(options.Services) == 0 {

Callers 1

startDependenciesMethod · 0.95

Calls 2

createMethod · 0.95
RunFunction · 0.85

Tested by

no test coverage detected