Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 420 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 420 Bytes

docker-events

Collect docker container events

Install

npm install docker-events --save

Usage

var de = require('docker-events');
var through = require('through2');

de({}).pipe(through.obj(function(chunk, enc, cb) {
  this.push(JSON.stringify(chunk));
  this.push('\n');
  cb();
})).pipe(process.stdout);

Acknowledgements

Sponsored by nearForm.

License

MIT