var Docker = require('dockerode'); var docker = new Docker({ socketPath: '/var/run/docker.sock' }); module.exports = docker;