Created
September 26, 2014 20:29
-
-
Save pasindud/87ffec8c3ec3efd3dddb to your computer and use it in GitHub Desktop.
simel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Docker = require('dockerode'); | |
var docker = new Docker({ host: 'http://192.168.59.103' , port : 2375}); | |
docker.run('ncthis/ceresi', [], process.stdout, function (err, data, container) { | |
console.log(data,container); | |
docker.listContainers(function (err, containers) { | |
console.log(containers); | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment