DockerRestApi/bin/dockerode.js

8 lines
129 B
JavaScript
Raw Permalink Normal View History

2019-09-19 16:27:24 +00:00
var Docker = require('dockerode');
var docker = new Docker({ socketPath: '/var/run/docker.sock' });
2019-09-19 18:13:08 +00:00
module.exports = docker;