docker-hs icon indicating copy to clipboard operation
docker-hs copied to clipboard

Non-streaming log api

Open ilyakooo0 opened this issue 5 years ago • 2 comments

The non-streaming log API doesn't return a normal bytestring. It returns the string encoded in some way that I couldn't manage to google.

This is the only place I could find how to decode it: https://github.com/mafintosh/docker-raw-stream

ilyakooo0 avatar Feb 24 '20 18:02 ilyakooo0

Actually, it looks like the streaming API suffers from the same problem

ilyakooo0 avatar Feb 24 '20 18:02 ilyakooo0

looks like it's a length-encoded string (did dive into the javascript yet, might be wrong)

ilyakooo0 avatar Feb 24 '20 19:02 ilyakooo0