/docker-js

Primary LanguageTypeScript

Docker Engine HTTP wrapper for nodejs

This wrapper makes it easy to control docker engine via nodejs , it utilizes the HTTP API provided by Docker
⚠ Still Under Constructions ⚠.

About

this implementation of docker engine still under Constructions , only the container api is working now,it's strongly typed

example

import DockerApi from 'docker-engine';
const dockerApi = new DockerApi('/var/run/docker.sock');
dockerApi.container.list()
.then((containersList) => {
  console.log(containersList.length);
});