Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/compose
/ functions
Functions
2,102 in github.com/docker/compose
⨍
Functions
2,102
◇
Types & classes
271
↓ 1 callers
Method
isServiceCompleted
(ctx context.Context, containers Containers)
pkg/compose/convergence.go:506
↓ 1 callers
Function
isServiceImageToBuild
(service types.ServiceConfig, services types.Services)
pkg/compose/pull.go:380
↓ 1 callers
Method
isSwarmEnabled
(ctx context.Context)
pkg/compose/compose.go:480
↓ 1 callers
Function
isSync
(trigger types.Trigger)
pkg/compose/watch.go:342
↓ 1 callers
Function
killCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/kill.go:38
↓ 1 callers
Method
labeledLocalImages
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 callers
Function
lenAnsi
lenAnsi returns the visible length of s after stripping ANSI escape codes.
cmd/formatter/ansi.go:94
↓ 1 callers
Function
listCommand
(dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/list.go:44
↓ 1 callers
Method
listContainersTargetedForCopy
(ctx context.Context, projectName string, options api.CopyOptions, direction copyDirection, serviceName string
pkg/compose/cp.go:115
↓ 1 callers
Function
listTransformersCommand
(dockerCli command.Cli)
cmd/compose/bridge.go:90
↓ 1 callers
Function
loadDevelopmentConfig
(service types.ServiceConfig, project *types.Project)
pkg/compose/watch.go:395
↓ 1 callers
Function
loadFileObject
(conf types.FileObjectConfig)
pkg/bridge/convert.go:209
↓ 1 callers
Function
localExtendsParent
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 callers
Method
logContainer
(ctx context.Context, consumer api.LogConsumer, c container.Summary, options api.LogOptions)
pkg/compose/logs.go:116
↓ 1 callers
Function
logsCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/logs.go:45
↓ 1 callers
Method
loop
()
pkg/watch/watcher_naive.go:153
↓ 1 callers
Method
loop
()
pkg/watch/watcher_darwin.go:45
↓ 1 callers
Function
lowestNumberedContainer
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 callers
Function
makeConsole
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 callers
Function
makeJSONError
(err error)
cmd/compose/compose.go:210
↓ 1 callers
Function
mapRestartPolicyCondition
(condition string)
pkg/compose/create.go:619
↓ 1 callers
Function
match
match returns true if any of the values at key match the source string
cmd/compose/list.go:68
↓ 1 callers
Function
matches
(c container.Summary, predicates ...containerPredicate)
pkg/compose/containers.go:129
↓ 1 callers
Function
maxBeforeStatusWidth
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 callers
Function
maxStatusLength
maxStatusLength returns the maximum status text length across all lines.
cmd/display/tty.go:436
↓ 1 callers
Function
metadata
(upCmd, downCmd, stopCmd *cobra.Command)
docs/examples/provider.go:122
↓ 1 callers
Function
metadataCommand
(upCmd, downCmd, stopCmd *cobra.Command)
docs/examples/provider.go:112
↓ 1 callers
Function
moveCursorDown
(lines int)
cmd/formatter/ansi.go:81
↓ 1 callers
Function
moveCursorUp
(lines int)
cmd/formatter/ansi.go:73
↓ 1 callers
Function
mustPull
(service types.ServiceConfig, images map[string]api.ImageSummary)
pkg/compose/pull.go:351
↓ 1 callers
Method
namedImages
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 callers
Function
navColor
(key string)
cmd/formatter/shortcut.go:390
↓ 1 callers
Function
newContainerEvent
(timeNano int64, ctr *api.ContainerSummary, eventType int, opts ...func(e *api.ContainerEvent))
pkg/compose/monitor.go:167
↓ 1 callers
Function
newFakeSyncer
()
pkg/compose/watch_test.go:187
↓ 1 callers
Method
newModelAPI
(project *types.Project)
pkg/compose/model.go:81
↓ 1 callers
Function
newStdWriter
(w io.Writer, streamType stdcopy.StdType)
pkg/compose/logs_test.go:82
↓ 1 callers
Function
newTask
(e api.Resource)
cmd/display/tty.go:82
↓ 1 callers
Function
nextContainerNumber
(containers []container.Summary)
pkg/compose/convergence.go:287
↓ 1 callers
Function
noCompletion
()
cmd/compose/completion.go:33
↓ 1 callers
Function
normalizeAndDedupeImages
normalizeAndDedupeImages returns the unique set of images after normalization.
pkg/compose/image_pruner.go:222
↓ 1 callers
Function
numDone
(tasks map[string]*task)
cmd/display/tty.go:666
↓ 1 callers
Method
observedSummaries
observedSummaries returns the raw container.Summary list for a service, needed by nextContainerNumber which expects []container.Summary.
pkg/compose/reconcile.go:833
↓ 1 callers
Function
ociRemoteLoaderEnabled
()
pkg/remote/oci.go:73
↓ 1 callers
Method
onNodeDone
(node *PlanNode, events api.EventProcessor)
pkg/compose/executor_events.go:78
↓ 1 callers
Method
onNodeError
(node *PlanNode, events api.EventProcessor, err error)
pkg/compose/executor_events.go:92
↓ 1 callers
Method
onNodeStart
(node *PlanNode, events api.EventProcessor)
pkg/compose/executor_events.go:63
↓ 1 callers
Method
openDDComposeUI
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:224
↓ 1 callers
Method
openDDLogsView
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:242
↓ 1 callers
Method
openDDWatchDocs
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:260
↓ 1 callers
Method
openDockerDesktop
(ctx context.Context, project *types.Project)
cmd/formatter/shortcut.go:206
↓ 1 callers
Method
orphanNames
orphanNames returns the names of orphaned containers as a comma-separated string.
pkg/compose/observed_state.go:238
↓ 1 callers
Function
osDependentCacheDir
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 callers
Function
osDependentRunDir
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 callers
Method
parentNamespaceRecreated
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 callers
Method
parentTasks
()
cmd/display/tty.go:247
↓ 1 callers
Method
parseFilter
()
cmd/compose/ps.go:49
↓ 1 callers
Function
parseIPAMPool
(pool *types.IPAMPool)
pkg/compose/create.go:1710
↓ 1 callers
Function
parseSecurityOpts
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 callers
Function
parseServicesReplicasArgs
(args []string)
cmd/compose/scale.go:93
↓ 1 callers
Method
pause
(ctx context.Context, projectName string, options api.PauseOptions)
pkg/compose/pause.go:35
↓ 1 callers
Function
pauseCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/pause.go:32
↓ 1 callers
Method
planCreateNetwork
planCreateNetwork adds a single CreateNetwork node and records it for dependency tracking.
pkg/compose/reconcile.go:172
↓ 1 callers
Method
planCreateVolume
planCreateVolume adds a single CreateVolume node and records it for dependency tracking.
pkg/compose/reconcile.go:258
↓ 1 callers
Method
planRecreateContainer
planRecreateContainer decomposes container recreation into 4 atomic operations: CreateContainer(tmpName) → StopContainer → RemoveContainer → RenameCon
pkg/compose/reconcile.go:654
↓ 1 callers
Method
planRecreateNetwork
planRecreateNetwork adds the full sequence for a diverged network: stop affected containers → disconnect → remove network → create network.
pkg/compose/reconcile.go:186
↓ 1 callers
Method
planStopDependents
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 callers
Function
pluginMain
()
cmd/main.go:37
↓ 1 callers
Function
portCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/port.go:39
↓ 1 callers
Function
portNotFoundError
(protocol string, port uint16, ctr container.Summary)
pkg/compose/port.go:43
↓ 1 callers
Method
postProcessProject
postProcessProject applies post-loading transformations to the project
pkg/compose/loader.go:120
↓ 1 callers
Function
preStartResultErr
(serviceName string, index int, res container.WaitResponse)
pkg/compose/pre_start.go:249
↓ 1 callers
Function
prepareBuildOptions
(opts api.RunOptions)
pkg/compose/run.go:216
↓ 1 callers
Method
prepareContainerMACAddress
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 callers
Method
prepareLabels
(labels types.Labels, service types.ServiceConfig, number int)
pkg/compose/create.go:500
↓ 1 callers
Method
prepareLineData
(t *task)
cmd/display/tty.go:548
↓ 1 callers
Method
prepareRun
(ctx context.Context, project *types.Project, opts api.RunOptions)
pkg/compose/run.go:122
↓ 1 callers
Method
printError
(height int, info string)
cmd/formatter/shortcut.go:50
↓ 1 callers
Method
printEvent
(e api.Resource)
cmd/display/tty.go:227
↓ 1 callers
Function
processExtends
(ctx context.Context, project *types.Project, extFiles map[string]string)
pkg/compose/publish.go:200
↓ 1 callers
Function
progressText
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 callers
Function
promptForInterpolatedVariables
promptForInterpolatedVariables displays all variables and their values at once, then prompts for confirmation
cmd/compose/options.go:129
↓ 1 callers
Method
pruneDanglingImagesOnRebuild
(ctx context.Context, projectName string, imageNameToIdMap map[string]string)
pkg/compose/watch.go:720
↓ 1 callers
Function
psCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/ps.go:68
↓ 1 callers
Function
publishedPortForService
(t testing.TB, cli *CLI, service string, targetPort int)
pkg/e2e/pause_test.go:138
↓ 1 callers
Method
pull
(ctx context.Context, project *types.Project, opts api.PullOptions)
pkg/compose/pull.go:53
↓ 1 callers
Function
pullCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/pull.go:46
↓ 1 callers
Method
pullComposeFiles
(ctx context.Context, local string, manifest spec.Manifest, ref reference.Named, resolver remotes.Resolver)
pkg/remote/oci.go:201
↓ 1 callers
Method
pullRequiredImages
(ctx context.Context, project *types.Project, images map[string]api.ImageSummary, quietPull bool)
pkg/compose/pull.go:293
↓ 1 callers
Function
pushCommand
(p *ProjectOptions, dockerCli command.Cli, backendOptions *BackendOptions)
cmd/compose/push.go:38
↓ 1 callers
Method
pushServiceImage
(ctx context.Context, tag string, quietPush bool)
pkg/compose/push.go:89
↓ 1 callers
Function
randomProjectName
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 callers
Function
readDockerignorePatterns
(r io.Reader)
pkg/watch/dockerignore.go:156
↓ 1 callers
Method
rebuild
(ctx context.Context, project *types.Project, services []string, options api.WatchOptions)
pkg/compose/watch.go:635
↓ 1 callers
Method
reconcileContainers
reconcileContainers processes each service in dependency order, comparing the desired scale and configuration with observed containers.
pkg/compose/reconcile.go:368
↓ 1 callers
Method
reconcileNetworks
reconcileNetworks adds plan nodes for network creation or recreation.
pkg/compose/reconcile.go:145
↓ 1 callers
Method
reconcileOrphans
reconcileOrphans plans stop + remove for orphaned containers.
pkg/compose/reconcile.go:813
↓ 1 callers
Method
reconcileService
reconcileService handles a single service: scale down, recreate diverged, start stopped, scale up.
pkg/compose/reconcile.go:423
↓ 1 callers
Method
reconcileVolumes
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 callers
Function
recordServiceEnvFindings
(services map[string]*serviceEnvFindings, detector secrets.Detector, service types.ServiceConfig)
pkg/compose/publish.go:519
↓ 1 callers
Method
register
(name string)
cmd/formatter/logs.go:60
← previous
next →
801–900 of 2,102, ranked by callers