Send container logs to pipe using a docker image.
See docker-compose.yml to see how to run pipemgr.
To enable, apply the pipemgr label to any service in your docker-compose.yml
file:
services:
httpbin:
image: kennethreitz/httpbin
label:
pipemgr.enable: trueThis will send all stdout/stderr from httpbin to pipe or any other SSH
service.
We support regex filtering with the pipemgr.filter label:
services:
httpbin:
image: kennethreitz/httpbin
label:
pipemgr.enable: true
pipemgr.filter: "GET.+(404)"In this example, we will only send log lines with a GET 404 response status.