MCPcopy Create free account
hub / github.com/docker/compose / CreateOptions

Struct CreateOptions

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

CreateOptions group options of the Create API

Source from the content-addressed store, hash-verified

261
262// CreateOptions group options of the Create API
263type CreateOptions struct {
264 Build *BuildOptions
265 // Services defines the services user interacts with
266 Services []string
267 // Remove legacy containers for services that are not defined in the project
268 RemoveOrphans bool
269 // Ignore legacy containers for services that are not defined in the project
270 IgnoreOrphans bool
271 // Recreate define the strategy to apply on existing containers
272 Recreate string
273 // RecreateDependencies define the strategy to apply on dependencies services
274 RecreateDependencies string
275 // Inherit reuse anonymous volumes from previous container
276 Inherit bool
277 // Timeout set delay to wait for container to gracefully stop before sending SIGKILL
278 Timeout *time.Duration
279 // QuietPull makes the pulling process quiet
280 QuietPull bool
281 // SkipProviders skips provider services during convergence (e.g. watch rebuild)
282 SkipProviders bool
283}
284
285// StartOptions group options of the Start API
286type StartOptions struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected