https://github.com/markelog/docker-ip
Get docker ip
https://github.com/markelog/docker-ip
development docker
Last synced: 2 months ago
JSON representation
Get docker ip
- Host: GitHub
- URL: https://github.com/markelog/docker-ip
- Owner: markelog
- License: mit
- Created: 2016-03-11T12:28:33.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-04T01:15:30.000Z (about 10 years ago)
- Last Synced: 2025-09-21T07:02:02.636Z (9 months ago)
- Topics: development, docker
- Language: JavaScript
- Size: 6.84 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
[](https://travis-ci.org/markelog/docker-ip)
[](https://coveralls.io/github/markelog/docker-ip?branch=master)
# Get docker ip
Get docker ip from `docker-machine` if applicable otherwise `localhost`
## Usage
```js
import ip from 'docker-ip';
ip() // 192.168.99.100 a "default" one
ip('dev') // a "dev" one
```
In order to run tests you need to instal and run docker