mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-01-19 11:16:34 +00:00
Docker expects the port to be a string
This commit is contained in:
parent
3c4318893a
commit
e9cbeea11e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user