1.0.0 • Published 7 years ago
get-docker-socket v1.0.0
get-docker-socket
A cross-platform way to get path to docker socket
Example
const socketPath = require('get-docker-socket')()
const Docker = require('dockerode')
const docker = new Docker({socketPath})
docker.listImages(/*...*/)
License
MIT, 2017 (c) Dmitry Tsvettsikh
1.0.0
7 years ago