Skip to content

Instantly share code, notes, and snippets.

@pasindud
Created September 26, 2014 20:29
Show Gist options
  • Save pasindud/87ffec8c3ec3efd3dddb to your computer and use it in GitHub Desktop.
Save pasindud/87ffec8c3ec3efd3dddb to your computer and use it in GitHub Desktop.
simel
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