MCPcopy Index your code
hub / github.com/ddev/ddev / Pull

Function Pull

pkg/dockerutil/docker_compose.go:410–412  ·  view source on GitHub ↗

Pull pulls image if it doesn't exist locally

(image string)

Source from the content-addressed store, hash-verified

408
409// Pull pulls image if it doesn't exist locally
410func Pull(image string) error {
411 return PullImages([]string{image}, false)
412}
413
414// sanitizeServiceName sanitizes a string to be a valid Docker Compose service name
415// by replacing any characters that don't match [a-zA-Z0-9._-] with hyphens

Callers 4

testMainFunction · 0.92

Calls 1

PullImagesFunction · 0.85

Tested by 2

testMainFunction · 0.74