docker-ip

2.0.1 • Public • Published

Build Status Coverage Status

Get docker ip

Get docker ip from docker-machine if applicable otherwise localhost

Usage

import ip from 'docker-ip';
 
ip() // 192.168.99.100 a "default" one
ip('dev') // a "dev" one

In order to run tests you should have installed and running docker.

Package Sidebar

Install

npm i docker-ip

Weekly Downloads

36

Version

2.0.1

License

MIT

Last publish

Collaborators

  • markelog