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

This commit is contained in:
David Wilson 2017-10-05 05:03:25 +05:30
parent 282862ad49
commit 17a05dc14f
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,6 @@ class DockerizedSshDaemon(object):
self.container = self.docker.containers.run(
image='d2mw/mitogen-test',
detach=True,
remove=True,
publish_all_ports=True,
)
self.container.reload()
@ -64,6 +63,7 @@ class DockerizedSshDaemon(object):
def close(self):
self.container.stop()
self.container.remove()
class RouterMixin(object):