docker containers - image by AlexandreHenryAlves, morguefile.com

This article will describe several alternatives for gathering Docker containers logs in the distributed environment of Apache Marathon / Mesos cluster, like Syslog, Container linking, Docker REST API, embedded logging piping stdout/stderr and Mesos APIs for that. We’ll go through a problem statement, different alternatives and describe the challenges related to each of them. tl;dr: Docker REST API combined with …