Open ilyakooo0 opened 4 years ago
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
Actually, it looks like the streaming API suffers from the same problem
looks like it's a length-encoded string (did dive into the javascript yet, might be wrong)
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