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