From cfdbb0daf066276eac030891f2e4fd600586eab5 Mon Sep 17 00:00:00 2001 From: Pedro Dias Date: Sun, 30 Jul 2017 16:15:35 +0100 Subject: [PATCH] Fixes https://github.com/apocas/dockerode/issues/387 --- lib/docker.js | 2 +- test/container.js | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/docker.js b/lib/docker.js index b794e37..498da13 100644 --- a/lib/docker.js +++ b/lib/docker.js @@ -1384,7 +1384,7 @@ Docker.prototype.runPromise = function(image, cmd, streamo, createOptions, start }); } } - return containero.start(); + return containero.start(startOptions); }).then(function(container) { return container.wait(); }).then(function(data) { diff --git a/test/container.js b/test/container.js index 420d7d0..f023a19 100644 --- a/test/container.js +++ b/test/container.js @@ -56,8 +56,6 @@ describe("#container", function() { var container = docker.getContainer(testContainer); function handler(err, data) { - console.log(err); - console.log(data); expect(err).to.be.null; expect(data).to.be.ok; done(); @@ -70,8 +68,6 @@ describe("#container", function() { var container = docker.getContainer(testContainer); function handler(err, data) { - console.log(err); - console.log(data); expect(err).to.be.null; expect(data).to.be.ok; done();