Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reklatsmasters/get-docker-socket
A cross-platform way to get path to docker socket
https://github.com/reklatsmasters/get-docker-socket
cross-platform devops devops-tools docker js named-pipes node socket tools unix-socket
Last synced: 24 days ago
JSON representation
A cross-platform way to get path to docker socket
- Host: GitHub
- URL: https://github.com/reklatsmasters/get-docker-socket
- Owner: reklatsmasters
- Created: 2017-02-12T19:57:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-02-12T20:39:18.000Z (over 7 years ago)
- Last Synced: 2024-09-16T11:28:36.941Z (about 2 months ago)
- Topics: cross-platform, devops, devops-tools, docker, js, named-pipes, node, socket, tools, unix-socket
- Language: JavaScript
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## get-docker-socket [![Build Status](https://travis-ci.org/ReklatsMasters/get-docker-socket.svg?branch=master)](https://travis-ci.org/ReklatsMasters/get-docker-socket) [![npm](https://img.shields.io/npm/v/get-docker-socket.svg)](https://npmjs.org/package/get-docker-socket) [![license](https://img.shields.io/npm/l/get-docker-socket.svg)](https://npmjs.org/package/get-docker-socket) [![downloads](https://img.shields.io/npm/dm/get-docker-socket.svg)](https://npmjs.org/package/get-docker-socket)
A cross-platform way to get path to docker socket## Example
```js
const socketPath = require('get-docker-socket')()
const Docker = require('dockerode')const docker = new Docker({socketPath})
docker.listImages(/*...*/)
```## License
MIT, 2017 (c) Dmitry Tsvettsikh