MCPcopy Index your code
hub / github.com/cheerego/docker-wrapper / pull

Function pull

cmd/pull.go:49–58  ·  view source on GitHub ↗
(cmd string)

Source from the content-addressed store, hash-verified

47}
48
49func pull(cmd string) {
50 log.Println(cmd)
51 command := exec.Command("bash", "-c", "docker pull "+cmd)
52 command.Stdout = os.Stdout
53 command.Stderr = os.Stderr
54 e := command.Run()
55 if e != nil {
56 panic(e)
57 }
58}
59
60func tag(cmd string) {
61 log.Println(cmd)

Callers 1

pull.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected