From f4162be1b3f51e3edd0cf78466ce037e86896c34 Mon Sep 17 00:00:00 2001 From: Ali Naci Erdem Date: Sun, 20 Oct 2024 10:16:20 +0300 Subject: [PATCH] fix: quote volume bind properly for Windows --- modules/actions/start.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/actions/start.js b/modules/actions/start.js index f2a3b0f..2e56fc2 100644 --- a/modules/actions/start.js +++ b/modules/actions/start.js @@ -34,10 +34,11 @@ const initContainer = async (libdragonInfo) => { 'run', '-d', // Detached '--mount', - 'type=bind,source=' + + '"type=bind,source=' + libdragonInfo.root + ',target=' + - CONTAINER_TARGET_PATH, // Mount files + CONTAINER_TARGET_PATH + + '"', // Mount files '-w=' + CONTAINER_TARGET_PATH, // Set working directory libdragonInfo.imageName, 'tail',