JSPM

  • Created
  • Published
  • Downloads 268
  • Score
    100M100P100Q82166F
  • License MIT

A javascript utility library for docker

Package Exports

  • mydockerjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mydockerjs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

docker-js

A javascript utility library for docker and docker-compose, it provides a simple javascript wrapper in order to execute docker commands and an api in order to use Docker with a node server. It's already in beta version, documentation , examples and functionality will be done soon.

Getting Started

npm install --save mydockerjs 

to use in your projects.

If you want to test and try example:  

git clone https://github.com/giper45/docker-js.git 

In example The library provides :

  • docker : a docker js library in order to execute docker commands
  • imageMgr : an image util library to retrieve informations about installed docker images and push / pull images
  • dockerCompose : a docker compose library to run docker compose commands

Prerequisites

In order to use you should first install docker engine and docker-compose .

Give examples

Installing

A step by step series of examples that tell you have to get a development env running

Say what the step will be

Give the example

And repeat

until finished

End with an example of getting some data out of the system or using it for a little demo

Running the tests

TBD

License

MIT Licensed