Skip to content

Commit

Permalink
Fixes #387
Browse files Browse the repository at this point in the history
  • Loading branch information
apocas committed Jul 30, 2017
1 parent 0937ab1 commit cfdbb0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion lib/docker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
4 changes: 0 additions & 4 deletions test/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit cfdbb0d

Please sign in to comment.