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

Method Save

src/cmd/linuxkit/pkglib/dockerimpl.go:760–763  ·  view source on GitHub ↗
(tgt string, refs ...string)

Source from the content-addressed store, hash-verified

758}
759
760func (dr *dockerRunnerImpl) Save(tgt string, refs ...string) error {
761 args := append([]string{"image", "save", "-o", tgt}, refs...)
762 return dr.command(nil, nil, nil, args...)
763}
764
765func (dr *dockerRunnerImpl) Load(src io.Reader) error {
766 args := []string{"image", "load"}

Callers

nothing calls this directly

Calls 1

commandMethod · 0.95

Tested by

no test coverage detected