Skip to content

Commit

Permalink
Use cli fallback for save
Browse files Browse the repository at this point in the history
Signed-off-by: Prabhu Subramanian <[email protected]>
  • Loading branch information
prabhu committed Nov 20, 2023
1 parent 39daaa2 commit 1159155
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 1159155

Please sign in to comment.