DrDocker
Tophat and monocle for your DockerD. Docker.IO Node.JS library.
Installation
npm install drdocker
Usage
Note: DrDocker uses the docker
CLI tool. This tool typically needs to be run as root. Hence these examples should be run with root privileges.
Check for an image
var drdocker = { if err throw err console} drdocker
Stream data into a container and commit result
var drdocker = var resumer = var img = "ubuntu" { var newImg = "helloWorld" drdocker} { if err throw err console var dataStream = var proc = drdocker dataStream} drdocker
Tests
Requires root privileges and a local docker.
Run with npm test
License
BSD