From c58feddb7bcd7f59a72e3dab3413f99e99296cce Mon Sep 17 00:00:00 2001 From: Matej Vasek Date: Wed, 5 May 2021 21:45:29 +0200 Subject: fix: docker APIv2 `images/get` Signed-off-by: Matej Vasek --- pkg/api/handlers/compat/images.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg') diff --git a/pkg/api/handlers/compat/images.go b/pkg/api/handlers/compat/images.go index 0b9367a17..0f7e0ccf5 100644 --- a/pkg/api/handlers/compat/images.go +++ b/pkg/api/handlers/compat/images.go @@ -466,7 +466,7 @@ func ExportImages(w http.ResponseWriter, r *http.Request) { imageEngine := abi.ImageEngine{Libpod: runtime} - saveOptions := entities.ImageSaveOptions{Output: tmpfile.Name()} + saveOptions := entities.ImageSaveOptions{Format: "docker-archive", Output: tmpfile.Name()} if err := imageEngine.Save(r.Context(), images[0], images[1:], saveOptions); err != nil { utils.InternalServerError(w, err) return -- cgit v1.2.3-54-g00ecf