Set port_bindings to None when starting a one-off container in 'plum run'

This commit is contained in:
Aanand Prasad 2013-12-19 12:26:58 +00:00
commit fb69512008
2 changed files with 15 additions and 8 deletions

View file

@ -93,7 +93,7 @@ class TopLevelCommand(Command):
}
container = service.create_container(**container_options)
stream = container.logs(stream=True)
service.start_container(container)
service.start_container(container, ports=None)
for data in stream:
if data is None:
break