AgustinCB / docker-api

Docker Remote API driver for node.js. It uses the same modem than dockerode, but the interface is promisified and with a fancier syntax.
GNU General Public License v3.0
303 stars 51 forks source link

Auth params in constructor? #39

Open webbrandon opened 6 years ago

webbrandon commented 6 years ago

I was wondering if you would be open to adding a feature to the Docker constructor to accept auth config while still supporting and overwriting those configs if specifically passed to method?

webbrandon commented 6 years ago

I guess I could pass them to a docker-modem instance and initialize with that.

AgustinCB commented 6 years ago

It makes sense. Will work on it. Thanks for the feedback!