From e9cbeea11ece80a9abec4cbdc8b6e8a7c518e01c Mon Sep 17 00:00:00 2001 From: Petros Angelatos Date: Fri, 16 May 2014 00:07:00 +0100 Subject: [PATCH] Docker expects the port to be a string --- src/application.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application.coffee b/src/application.coffee index 6cbd146c..0fde8647 100644 --- a/src/application.coffee +++ b/src/application.coffee @@ -82,7 +82,7 @@ exports.start = start = (app) -> console.log('Starting container:', app.imageId) ports = {} if port? - ports[port + '/tcp'] = [ HostPort: port ] + ports[port + '/tcp'] = [ HostPort: String(port) ] container.startAsync( Privileged: true PortBindings: ports