MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / Tag

Method Tag

src/cmd/linuxkit/pkglib/dockerimpl.go:505–508  ·  view source on GitHub ↗
(ref, tag string)

Source from the content-addressed store, hash-verified

503}
504
505func (dr *dockerRunnerImpl) Tag(ref, tag string) error {
506 fmt.Printf("Tagging %s as %s\n", ref, tag)
507 return dr.command(nil, nil, nil, "image", "tag", ref, tag)
508}
509
510func (dr *dockerRunnerImpl) Build(ctx context.Context, tag, pkg, dockerContext, builderImage, builderConfigPath, platform string, restart, preCacheImages bool, c spec.CacheProvider, stdin io.Reader, stdout io.Writer, sbomScan bool, sbomScannerImage, progressType string, imageBuildOpts spec.ImageBuildOptions) error {
511 // ensure we have a builder

Callers

nothing calls this directly

Calls 1

commandMethod · 0.95

Tested by

no test coverage detected