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

Function getDefaultContainerName

pkg/compose/convergence.go:129–131  ·  view source on GitHub ↗
(projectName, serviceName, index string)

Source from the content-addressed store, hash-verified

127}
128
129func getDefaultContainerName(projectName, serviceName, index string) string {
130 return strings.Join([]string{projectName, serviceName, index}, api.Separator)
131}
132
133func getContainerProgressName(ctr container.Summary) string {
134 return "Container " + getCanonicalContainerName(ctr)

Callers 3

newContainerEventFunction · 0.85
getContainerNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected