Remove service.start_container()

It has been an unnecessary wrapper around container.start() for a little while now, so we can call it directly.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-11-02 13:33:13 -05:00
commit 3d9e3d0877
5 changed files with 22 additions and 26 deletions

View file

@ -448,7 +448,7 @@ class TopLevelCommand(DocoptCommand):
raise e
if detach:
service.start_container(container)
container.start()
print(container.name)
else:
dockerpty.start(project.client, container.id, interactive=not options['-T'])