MCPcopy Create free account
hub / github.com/cheerego/docker-wrapper / tag

Function tag

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

Source from the content-addressed store, hash-verified

58}
59
60func tag(cmd string) {
61 log.Println(cmd)
62 command := exec.Command("bash", "-c", "docker tag "+cmd)
63 command.Stdout = os.Stdout
64 command.Stderr = os.Stderr
65 e := command.Run()
66 if e != nil {
67 panic(e)
68 }
69}
70
71func init() {
72 rootCmd.AddCommand(pullCmd)

Callers 1

pull.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected