apocas / dockerode

Docker + Node = Dockerode (Node.js module for Docker's Remote API)
Apache License 2.0
4.32k stars 460 forks source link

How to stop getting the logs ? #369

Closed JeromeVi closed 7 years ago

JeromeVi commented 7 years ago

Hi, I'm trying to find that since a few hours so how can we stop getting the logs ? I use your method https://github.com/apocas/dockerode/blob/master/examples/logs.js but I can't stop them.

We need to send something in the stream ?

apocas commented 7 years ago

Just updated the example with what you need :)

https://github.com/apocas/dockerode/blob/master/examples/logs.js