commit
fdbe1ebca8
@ -126,7 +126,7 @@ func save(imageName string) (string, error) {
|
|||||||
var stderr bytes.Buffer
|
var stderr bytes.Buffer
|
||||||
save := exec.Command("docker", "save", imageName)
|
save := exec.Command("docker", "save", imageName)
|
||||||
save.Stderr = &stderr
|
save.Stderr = &stderr
|
||||||
extract := exec.Command("tar", "xzf", "-", "-C"+path)
|
extract := exec.Command("tar", "xf", "-", "-C"+path)
|
||||||
extract.Stderr = &stderr
|
extract.Stderr = &stderr
|
||||||
pipe, err := extract.StdinPipe()
|
pipe, err := extract.StdinPipe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user