Parsing the Docker Logs API Binary Format

I recently wrote on a log collector that used Docker’s Container Logs API
to subscribe output streams of containers. Most people don’t go this way,
because they use well known logging drivers so it’s hard to find any
programs consuming this API.