From 1159155a36aeb4affa4acc3d0d11f75c38bce65b Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Mon, 20 Nov 2023 20:32:25 +0000 Subject: [PATCH] Use cli fallback for save Signed-off-by: Prabhu Subramanian --- docker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker.js b/docker.js index 17d04d1aad..6ad3ee7a38 100644 --- a/docker.js +++ b/docker.js @@ -878,7 +878,7 @@ export const exportImage = async (fullImageName) => { // Windows containers use index.json const manifestIndexFile = join(tempDir, "index.json"); // On Windows, fallback to invoking cli - if (isWin) { + if (needsCliFallback()) { const imageTarFile = join(tempDir, "image.tar"); console.log( `About to export image ${fullImageName} to ${imageTarFile} using docker cli`