dockermachineconfig
A node.js wrapper for the docker-machine config
command
![NPM](https://nodei.co/npm-dl/dockermachineconfig.png?months=6&height=3)
Installation
Step 1: Prerequisites
The docker-machine command line tool must be installed and accessible in the path
Step 2: Installation
npm install dockermachineconfig
Then:
var dockermachine = require('dockermachineconfig');
Usage
With promise:
dockermachine.config('machine.1.ap-southeast-2.1.0.0.4a').then( function (data) {
console.log('data =', data);
});
With callback:
dockermachine.config('machine.1.ap-southeast-2.1.0.0.4a', function(err, data) {
console.log('data =', data);
});