Commit 17a05dc1 authored by David Wilson's avatar David Wilson

Try to be compatible with older Docker daemons; (hopefully) closes #46

parent 282862ad
...@@ -47,7 +47,6 @@ class DockerizedSshDaemon(object): ...@@ -47,7 +47,6 @@ class DockerizedSshDaemon(object):
self.container = self.docker.containers.run( self.container = self.docker.containers.run(
image='d2mw/mitogen-test', image='d2mw/mitogen-test',
detach=True, detach=True,
remove=True,
publish_all_ports=True, publish_all_ports=True,
) )
self.container.reload() self.container.reload()
...@@ -64,6 +63,7 @@ class DockerizedSshDaemon(object): ...@@ -64,6 +63,7 @@ class DockerizedSshDaemon(object):
def close(self): def close(self):
self.container.stop() self.container.stop()
self.container.remove()
class RouterMixin(object): class RouterMixin(object):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment