Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Dockerode wrapped with promises.

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

taskcluster/dockerode-promise

NOTE this library is no longer useful with dockerode-3.x, which includes native Promise support. Older versions of dockerode have vulnerable dependencies and should not be used.

Dockerode Promise

Effectively all dockerode async operations which use callbacks should now use a promise... Its important that dockerode is a peerDependency as dockerode promise will not include one of its own.

Usage

var Docker = require('dockerode-promise');

var docker = new Docker({ ... });

docker.run('ubuntu', ['/bin/bash', '-c', 'echo "xx"']).then(
  function (output) {
    // output.result
    // output.container
  }
);

About

Dockerode wrapped with promises.

Resources

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
LICENSE.md

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •