MCPcopy Create free account

hub / github.com/docker/compose / functions

Functions2,102 in github.com/docker/compose

↓ 1 callersMethodisServiceCompleted
(ctx context.Context, containers Containers)
pkg/compose/convergence.go:506
↓ 1 callersFunctionisServiceImageToBuild
(service types.ServiceConfig, services types.Services)
pkg/compose/pull.go:380
↓ 1 callersMethodisSwarmEnabled
(ctx context.Context)
pkg/compose/compose.go:480
↓ 1 callersFunctionisSync
(trigger types.Trigger)
pkg/compose/watch.go:342
↓ 1 callersFunctionkillCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/kill.go:38
↓ 1 callersMethodlabeledLocalImages
labeledLocalImages are images that were locally-built by a current version of Compose (it did not always label built images). The image name could ei
pkg/compose/image_pruner.go:151
↓ 1 callersFunctionlenAnsi
lenAnsi returns the visible length of s after stripping ANSI escape codes.
cmd/formatter/ansi.go:94
↓ 1 callersFunctionlistCommand
(dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/list.go:44
↓ 1 callersMethodlistContainersTargetedForCopy
(ctx context.Context, projectName string, options api.CopyOptions, direction copyDirection, serviceName string
pkg/compose/cp.go:115
↓ 1 callersFunctionlistTransformersCommand
(dockerCli command.Cli)
cmd/compose/bridge.go:90
↓ 1 callersFunctionloadDevelopmentConfig
(service types.ServiceConfig, project *types.Project)
pkg/compose/watch.go:395
↓ 1 callersFunctionloadFileObject
(conf types.FileObjectConfig)
pkg/bridge/convert.go:209
↓ 1 callersFunctionlocalExtendsParent
localExtendsParent returns the path of an extends parent file that exists on disk, or "" when the service does not extend or extends a remote resource
pkg/compose/publish.go:573
↓ 1 callersMethodlogContainer
(ctx context.Context, consumer api.LogConsumer, c container.Summary, options api.LogOptions)
pkg/compose/logs.go:116
↓ 1 callersFunctionlogsCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/logs.go:45
↓ 1 callersMethodloop
()
pkg/watch/watcher_naive.go:153
↓ 1 callersMethodloop
()
pkg/watch/watcher_darwin.go:45
↓ 1 callersFunctionlowestNumberedContainer
lowestNumberedContainer returns the container with the lowest com.docker.compose.container-number label, so pre_start always targets the same replica
pkg/compose/pre_start.go:39
↓ 1 callersFunctionmakeConsole
makeConsole wraps the provided writer to match [containerd.File] interface if it is of type *streams.Out. buildkit's NewDisplay doesn't actually requi
pkg/compose/build_bake.go:444
↓ 1 callersFunctionmakeJSONError
(err error)
cmd/compose/compose.go:210
↓ 1 callersFunctionmapRestartPolicyCondition
(condition string)
pkg/compose/create.go:619
↓ 1 callersFunctionmatch
match returns true if any of the values at key match the source string
cmd/compose/list.go:68
↓ 1 callersFunctionmatches
(c container.Summary, predicates ...containerPredicate)
pkg/compose/containers.go:129
↓ 1 callersFunctionmaxBeforeStatusWidth
maxBeforeStatusWidth computes the maximum width before statusPad across all lines. This is: space(1) + spinner(1) + prefix + space(1) + taskID + progr
cmd/display/tty.go:448
↓ 1 callersFunctionmaxStatusLength
maxStatusLength returns the maximum status text length across all lines.
cmd/display/tty.go:436
↓ 1 callersFunctionmetadata
(upCmd, downCmd, stopCmd *cobra.Command)
docs/examples/provider.go:122
↓ 1 callersFunctionmetadataCommand
(upCmd, downCmd, stopCmd *cobra.Command)
docs/examples/provider.go:112
↓ 1 callersFunctionmoveCursorDown
(lines int)
cmd/formatter/ansi.go:81
↓ 1 callersFunctionmoveCursorUp
(lines int)
cmd/formatter/ansi.go:73
↓ 1 callersFunctionmustPull
(service types.ServiceConfig, images map[string]api.ImageSummary)
pkg/compose/pull.go:351
↓ 1 callersMethodnamedImages
namedImages are those that are explicitly named in the service config. These could be registry-only images (no local build), hybrid (support build as
pkg/compose/image_pruner.go:135
↓ 1 callersFunctionnavColor
(key string)
cmd/formatter/shortcut.go:390
↓ 1 callersFunctionnewContainerEvent
(timeNano int64, ctr *api.ContainerSummary, eventType int, opts ...func(e *api.ContainerEvent))
pkg/compose/monitor.go:167
↓ 1 callersFunctionnewFakeSyncer
()
pkg/compose/watch_test.go:187
↓ 1 callersMethodnewModelAPI
(project *types.Project)
pkg/compose/model.go:81
↓ 1 callersFunctionnewStdWriter
(w io.Writer, streamType stdcopy.StdType)
pkg/compose/logs_test.go:82
↓ 1 callersFunctionnewTask
(e api.Resource)
cmd/display/tty.go:82
↓ 1 callersFunctionnextContainerNumber
(containers []container.Summary)
pkg/compose/convergence.go:287
↓ 1 callersFunctionnoCompletion
()
cmd/compose/completion.go:33
↓ 1 callersFunctionnormalizeAndDedupeImages
normalizeAndDedupeImages returns the unique set of images after normalization.
pkg/compose/image_pruner.go:222
↓ 1 callersFunctionnumDone
(tasks map[string]*task)
cmd/display/tty.go:666
↓ 1 callersMethodobservedSummaries
observedSummaries returns the raw container.Summary list for a service, needed by nextContainerNumber which expects []container.Summary.
pkg/compose/reconcile.go:833
↓ 1 callersFunctionociRemoteLoaderEnabled
()
pkg/remote/oci.go:73
↓ 1 callersMethodonNodeDone
(node *PlanNode, events api.EventProcessor)
pkg/compose/executor_events.go:78
↓ 1 callersMethodonNodeError
(node *PlanNode, events api.EventProcessor, err error)
pkg/compose/executor_events.go:92
↓ 1 callersMethodonNodeStart
(node *PlanNode, events api.EventProcessor)
pkg/compose/executor_events.go:63
↓ 1 callersMethodopenDDComposeUI
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:224
↓ 1 callersMethodopenDDLogsView
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:242
↓ 1 callersMethodopenDDWatchDocs
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:260
↓ 1 callersMethodopenDockerDesktop
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:206
↓ 1 callersMethodorphanNames
orphanNames returns the names of orphaned containers as a comma-separated string.
pkg/compose/observed_state.go:238
↓ 1 callersFunctionosDependentCacheDir
Based on https://github.com/adrg/xdg Licensed under MIT License (MIT) Copyright (c) 2014 Adrian-George Bostan <adrg@epistack.com>
pkg/remote/cache_unix.go:30
↓ 1 callersFunctionosDependentRunDir
Based on https://github.com/adrg/xdg Licensed under MIT License (MIT) Copyright (c) 2014 Adrian-George Bostan <adrg@epistack.com>
internal/locker/runtime_unix.go:31
↓ 1 callersMethodparentNamespaceRecreated
parentNamespaceRecreated reports whether any namespace- or volume-sharing parent of svc has at least one container scheduled for recreation. The paren
pkg/compose/reconcile.go:567
↓ 1 callersMethodparentTasks
()
cmd/display/tty.go:247
↓ 1 callersMethodparseFilter
()
cmd/compose/ps.go:49
↓ 1 callersFunctionparseIPAMPool
(pool *types.IPAMPool)
pkg/compose/create.go:1710
↓ 1 callersFunctionparseSecurityOpts
copy/pasted from https://github.com/docker/cli/blob/9de1b162f/cli/command/container/opts.go#L673-L697 + RelativePath TODO find so way to share this co
pkg/compose/create.go:464
↓ 1 callersFunctionparseServicesReplicasArgs
(args []string)
cmd/compose/scale.go:93
↓ 1 callersMethodpause
(ctx context.Context, projectName string, options api.PauseOptions)
pkg/compose/pause.go:35
↓ 1 callersFunctionpauseCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/pause.go:32
↓ 1 callersMethodplanCreateNetwork
planCreateNetwork adds a single CreateNetwork node and records it for dependency tracking.
pkg/compose/reconcile.go:172
↓ 1 callersMethodplanCreateVolume
planCreateVolume adds a single CreateVolume node and records it for dependency tracking.
pkg/compose/reconcile.go:258
↓ 1 callersMethodplanRecreateContainer
planRecreateContainer decomposes container recreation into 4 atomic operations: CreateContainer(tmpName) → StopContainer → RemoveContainer → RenameCon
pkg/compose/reconcile.go:654
↓ 1 callersMethodplanRecreateNetwork
planRecreateNetwork adds the full sequence for a diverged network: stop affected containers → disconnect → remove network → create network.
pkg/compose/reconcile.go:186
↓ 1 callersMethodplanStopDependents
planStopDependents plans stop operations for containers of services that depend on the given service with restart: true. Each emitted Stop is recorded
pkg/compose/reconcile.go:738
↓ 1 callersFunctionpluginMain
()
cmd/main.go:37
↓ 1 callersFunctionportCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/port.go:39
↓ 1 callersFunctionportNotFoundError
(protocol string, port uint16, ctr container.Summary)
pkg/compose/port.go:43
↓ 1 callersMethodpostProcessProject
postProcessProject applies post-loading transformations to the project
pkg/compose/loader.go:120
↓ 1 callersFunctionpreStartResultErr
(serviceName string, index int, res container.WaitResponse)
pkg/compose/pre_start.go:249
↓ 1 callersFunctionprepareBuildOptions
(opts api.RunOptions)
pkg/compose/run.go:216
↓ 1 callersMethodprepareContainerMACAddress
prepareContainerMACAddress handles the service-level mac_address field and the newer mac_address field added to service network config. This newer fie
pkg/compose/create.go:352
↓ 1 callersMethodprepareLabels
(labels types.Labels, service types.ServiceConfig, number int)
pkg/compose/create.go:500
↓ 1 callersMethodprepareLineData
(t *task)
cmd/display/tty.go:548
↓ 1 callersMethodprepareRun
(ctx context.Context, project *types.Project, opts api.RunOptions)
pkg/compose/run.go:122
↓ 1 callersMethodprintError
(height int, info string)
cmd/formatter/shortcut.go:50
↓ 1 callersMethodprintEvent
(e api.Resource)
cmd/display/tty.go:227
↓ 1 callersFunctionprocessExtends
(ctx context.Context, project *types.Project, extFiles map[string]string)
pkg/compose/publish.go:200
↓ 1 callersFunctionprogressText
progressText is a minimal variant of [jsonmessage.JSONProgress.String()] [jsonmessage.JSONProgress.String()]: https://github.com/moby/moby/blob/v28.5
pkg/compose/push.go:187
↓ 1 callersFunctionpromptForInterpolatedVariables
promptForInterpolatedVariables displays all variables and their values at once, then prompts for confirmation
cmd/compose/options.go:129
↓ 1 callersMethodpruneDanglingImagesOnRebuild
(ctx context.Context, projectName string, imageNameToIdMap map[string]string)
pkg/compose/watch.go:720
↓ 1 callersFunctionpsCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/ps.go:68
↓ 1 callersFunctionpublishedPortForService
(t testing.TB, cli *CLI, service string, targetPort int)
pkg/e2e/pause_test.go:138
↓ 1 callersMethodpull
(ctx context.Context, project *types.Project, opts api.PullOptions)
pkg/compose/pull.go:53
↓ 1 callersFunctionpullCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/pull.go:46
↓ 1 callersMethodpullComposeFiles
(ctx context.Context, local string, manifest spec.Manifest, ref reference.Named, resolver remotes.Resolver)
pkg/remote/oci.go:201
↓ 1 callersMethodpullRequiredImages
(ctx context.Context, project *types.Project, images map[string]api.ImageSummary, quietPull bool)
pkg/compose/pull.go:293
↓ 1 callersFunctionpushCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/push.go:38
↓ 1 callersMethodpushServiceImage
(ctx context.Context, tag string, quietPush bool)
pkg/compose/push.go:89
↓ 1 callersFunctionrandomProjectName
randomProjectName generates a unique project name for parallel test execution Format: prefix-<8 random hex chars> (e.g., "build-once-3f4a9b2c")
pkg/e2e/compose_run_build_once_test.go:99
↓ 1 callersFunctionreadDockerignorePatterns
(r io.Reader)
pkg/watch/dockerignore.go:156
↓ 1 callersMethodrebuild
(ctx context.Context, project *types.Project, services []string, options api.WatchOptions)
pkg/compose/watch.go:635
↓ 1 callersMethodreconcileContainers
reconcileContainers processes each service in dependency order, comparing the desired scale and configuration with observed containers.
pkg/compose/reconcile.go:368
↓ 1 callersMethodreconcileNetworks
reconcileNetworks adds plan nodes for network creation or recreation.
pkg/compose/reconcile.go:145
↓ 1 callersMethodreconcileOrphans
reconcileOrphans plans stop + remove for orphaned containers.
pkg/compose/reconcile.go:813
↓ 1 callersMethodreconcileService
reconcileService handles a single service: scale down, recreate diverged, start stopped, scale up.
pkg/compose/reconcile.go:423
↓ 1 callersMethodreconcileVolumes
reconcileVolumes adds plan nodes for volume creation. Recreation of a diverged volume is handled by ensureProjectVolumes (which already prompts the us
pkg/compose/reconcile.go:245
↓ 1 callersFunctionrecordServiceEnvFindings
(services map[string]*serviceEnvFindings, detector secrets.Detector, service types.ServiceConfig)
pkg/compose/publish.go:519
↓ 1 callersMethodregister
(name string)
cmd/formatter/logs.go:60
← previousnext →801–900 of 2,102, ranked by callers