-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker logs Demuxing #511
Comments
Update dockerode's dependency docker-modem to v1.0.9 (just published it) It should fix the problem. |
When you say it should fix the problem are you saying we can use the same Sorry I gotta go full pleb status here, do you have a modified example of this without following the output https://github.com/apocas/dockerode/blob/master/examples/logs.js ? |
Having similar issue, using 2.5.8 |
closing as it is not the responsibility of the maintainer to give me code examples. |
It looks like in a recent update if "follow" is set to false when grabbing container logs you get back a buffer.
That is fine, but even converted to utf8 I am having trouble figuring out a reliable method of removing just the logstream for parsing, used to use "ansi_up.ansi_to_html" in combination with the demuxed logStream to parse it to a reliable readable output.
Does anyone have any suggestions or are there any plans to add a function call to demux this buffer?
The text was updated successfully, but these errors were encountered: