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

Struct DownOptions

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

DownOptions group options of the Down API

Source from the content-addressed store, hash-verified

341
342// DownOptions group options of the Down API
343type DownOptions struct {
344 // RemoveOrphans will cleanup containers that are not declared on the compose model but own the same labels
345 RemoveOrphans bool
346 // Project is the compose project used to define this app. Might be nil if user ran `down` just with project name
347 Project *types.Project
348 // Timeout override container stop timeout
349 Timeout *time.Duration
350 // Images remove image used by services. 'all': Remove all images. 'local': Remove only images that don't have a tag
351 Images string
352 // Volumes remove volumes, both declared in the `volumes` section and anonymous ones
353 Volumes bool
354 // Services passed in the command line to be stopped
355 Services []string
356}
357
358// ConfigOptions group options of the Config API
359type ConfigOptions struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected