Miss any of our Open RFC calls?Watch the recordings here! »

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.

Install

npm i docker-ip

DownloadsWeekly Downloads

14

Version

2.0.1

License

MIT

Last publish

Collaborators

  • avatar