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

Method Create

pkg/api/api.go:91–91  ·  view source on GitHub ↗

Create executes the equivalent to a `compose create`

(ctx context.Context, project *types.Project, options CreateOptions)

Source from the content-addressed store, hash-verified

89 Pull(ctx context.Context, project *types.Project, options PullOptions) error
90 // Create executes the equivalent to a `compose create`
91 Create(ctx context.Context, project *types.Project, options CreateOptions) error
92 // Start executes the equivalent to a `compose start`
93 Start(ctx context.Context, projectName string, options StartOptions) error
94 // Restart restarts containers

Callers 5

writeEnvFileFunction · 0.65
mustTouchFunction · 0.65
runUpFunction · 0.65
runCreateFunction · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by 2

mustTouchFunction · 0.52