# docker-ps

> Docker ps from node

Latest version **1.0.1** (published 2014-11-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install docker-ps
pnpm add docker-ps
yarn add docker-ps
bun add docker-ps
```

Provides the command `docker-ps`.

## 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.1 |
| Published | 2014-11-17 |
| First published | 2014-11-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Mathias Buus |
| Maintainers | mafintosh |

## Links

- npm: https://www.npmjs.com/package/docker-ps
- Repository: https://github.com/mafintosh/docker-ps
- Issues: https://github.com/mafintosh/docker-ps/issues
- npm.io page: https://npm.io/package/docker-ps

## Dependencies (6)

- [pump](https://npm.io/package/pump.md) ^1.0.0
- [minimist](https://npm.io/package/minimist.md) ^1.1.0
- [through2](https://npm.io/package/through2.md) ^0.6.3
- [JSONStream](https://npm.io/package/JSONStream.md) ^0.9.0
- [text-table](https://npm.io/package/text-table.md) ^0.2.0
- [docker-remote-api](https://npm.io/package/docker-remote-api.md) ^4.4.0

## Recent versions

- 1.0.1 (latest) — 2014-11-17
- 1.0.0 — 2014-11-17

## README

# docker-ps

Docker ps from node

```
npm install docker-ps
```

## Usage

``` js
var ps = require('docker-ps')

ps(function(err, containers) {
  console.log(containers)
})

// or as a stream

var stream = ps()

stream.on('data', function(container) {
  console.log(container) // print container
})

stream.on('end', function() {
  console.log('no more')
})
```

## Command line tool

There is also a command line tool available

```
npm install -g docker-ps
docker-ps # prints a process listing
docker-ps --help # print a help message
```

## License

MIT

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