# dockerode-bluebird

> dockerode bluebird from https://github.com/apocas/dockerode/pull/108

Latest version **1.0.4** (published 2015-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install dockerode-bluebird
pnpm add dockerode-bluebird
yarn add dockerode-bluebird
bun add dockerode-bluebird
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2015-09-14 |
| First published | 2015-09-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Matthias Ludwig |
| Maintainers | mattqs |

## Links

- npm: https://www.npmjs.com/package/dockerode-bluebird
- Repository: https://github.com/Quobject/dockerode-bluebird
- Issues: https://github.com/Quobject/dockerode-bluebird/issues
- npm.io page: https://npm.io/package/dockerode-bluebird

## Dependencies (2)

- [bluebird](https://npm.io/package/bluebird.md) ~2.9.34
- [dockerode](https://npm.io/package/dockerode.md) ~2.2.2

## Recent versions

- 1.0.4 (latest) — 2015-09-14
- 1.0.3 — 2015-09-13
- 1.0.2 — 2015-09-05
- 1.0.1 — 2015-09-03
- 1.0.0 — 2015-09-03

## README

# dockerode-bluebird

[![NPM](https://nodei.co/npm/dockerode-bluebird.png?downloads=true&downloadRank=true)](https://nodei.co/npm/dockerode-bluebird/)
[![NPM](https://nodei.co/npm-dl/dockerode-bluebird.png?months=6&height=3)](https://nodei.co/npm/dockerode-bluebird/)

See [https://github.com/apocas/dockerode/pull/108](https://github.com/apocas/dockerode/pull/108).

## Node.js

    npm install dockerode-bluebird

Then:

```js
var Docker = require("dockerode-bluebird");
```

## Usage

```js
var docker = new Docker({socketPath: '/var/run/docker.sock'});

var data = {
    Image: 'mesoscloud/zookeeper:3.4.6-ubuntu-14.04',
    //Cmd: [],
    'ExposedPorts': {
      '2181/tcp': {}
    },
    name: 'zookeeper',
    HostConfig: {
      PortBindings: {
        "2181/tcp": [
            {
              "HostPort": "2181"
            }
        ]
      }
    }
};

docker.createContainerAsync(data).then( function(container) {
  console.log('startZookeeper container = ' + container);
  return container.startAsync();
}).catch(function(error) {
  console.log('startZookeeper error = ' + error);
}).finally( function() {
  console.log('startZookeeper finally ');
});
```

---
_Source: https://npm.io/package/dockerode-bluebird · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
