Nanobot: Polygonal Mascot

    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

    Install

    npm i get-docker-socket

    DownloadsWeekly Downloads

    7

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • reklatsmasters