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

wip-fakessh-exit-status
David Wilson 7 years ago
parent 282862ad49
commit 17a05dc14f

@ -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):
def close(self): def close(self):
self.container.stop() self.container.stop()
self.container.remove()
class RouterMixin(object): class RouterMixin(object):

Loading…
Cancel
Save