Ejemplo n.º 1
0
 def get_container_logs(self,
                        container,
                        config,
                        stderr=True,
                        stdout=False,
                        limit=100):
     wrapper = DockerWrapper(container.host.hostname, container.host.port,
                             config)
     return wrapper.logs(container.id,
                         stdout=stdout,
                         stderr=stderr,
                         tail=limit)
Ejemplo n.º 2
0
 def get_container_logs(self, container, config, stderr=True, stdout=False, limit=100):
     wrapper = DockerWrapper(container.host.hostname, container.host.port, config)
     return wrapper.logs(container.id, stdout=stdout, stderr=stderr, tail=limit)