get-docker-socket

1.0.0 • Public • Published

get-docker-socket Build Status npm license downloads

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i get-docker-socket

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • reklatsmasters