mirror of
https://github.com/containers/podman.git
synced 2025-06-19 08:09:12 +08:00
fix: docker APIv2 images/get
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user