2.0.1 • Published 8 years ago

docker-ip v2.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

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.