libswarm demo – logging

At Dockercon, we announced a new project being worked on called “libswarm”. I wanted to clarify what exactly libswarm is, what it does, and what it doesn’t do. First, libswarm is not itself an orchestration tool. It does not and will not replace any orchestration tools. Libswarm is a library first and foremost and not an end-user tool. It is a library that helps make it relatively trivial to compose other disparate tools together, including but not limited to orchestration tools. Just a quick demo showing off what libswarm can do with logging. I will be using code from this gist: https://gist.github.com/cpuguy83/b7c0f42e903bc13c46d6 Demo time! # start a container that prints to stdout docker -H tcp://10.0.0.2:2375 run -d –entrypoint /bin/sh debian:jessie -c \ ‘while true; do echo this is a log message; sleep 1; done’ # fire up swarmd ./swarmd ‘logforwarder tcp://10.0.0.2:2375’ stdoutlogger Getting logs Continue reading…