A node-red node to watch docker events
I thought Node-RED was a pretty cool guy. Docker is pretty darn nifty, too. This is the beginnings of what should hopefully be a nice collection of nodes to allow for interactions between the two.
Right now there is support for monitoring a docker daemon's event stream, but I'm currently mulling over how to provide a clean interface for functional interactions with docker. Please feel free to open an issue if you have something specific you'd like to do.
General node installation instructions can be found here for Node-RED. But it boils down to this:
cd $HOME/.node-red # Or whever your Node-RED user data directory is npm install node-red-contrib-docker-stream
An example flow can be found in
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D