From 967ee6108c0fd9b7891e3aa216854d68fcbad89b Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Tue, 6 Aug 2019 14:31:25 +0200 Subject: [PATCH] More fixes --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 685de14f4..78c90e4bc 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -421,7 +421,7 @@ async function docker() { if (argv['random']) { let inspect = await execP(`docker inspect -f "{{json .NetworkSettings}}" ${containerId}`); - let netSettings = JSON.parse(inspect); + let netSettings = JSON.parse(inspect.stdout); dbConf.host = netSettings.IPAddress; dbConf.port = netSettings.Ports['3306/tcp'][0]['HostPort'];