docker-inspector
Inspect one or all docker containers on one or more hosts
Last updated 4 years ago by asbjornenge .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install docker-inspector 
SYNC missed versions from official npm registry.

docker inspector

Inspect one or all docker containers on one or more hosts.

Install

npm install --save docker-inspector

Use

var inspector = require('docker-inspector')({
    hosts : [{
        host : <ip>,
        port : <port>
    }]
})
inspector.inspect(function(err, containers) {})       // => Inspect all
inspector.inspect(function(err, containers) {},<id>)  // => Inspect id

Options

hosts    // List of hosts to query                (required      -> at least one)
all      // Return all or only running containers (default false -> only running)
limit    // Max number of containers              (default 0     -> no limit)

Changelog

2.0.0

  • Removed request requrement

1.1.0

  • Added support for option all
  • Added support for option limit

1.0.1

  • Fixed missing Object.assign for "old" environments

1.0.0

  • Initial realase :tada:

enjoy

Current Tags

  • 2.0.0                                ...           latest (4 years ago)

4 Versions

  • 2.0.0                                ...           4 years ago
  • 1.1.0                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (1)

Copyright 2014 - 2016 © taobao.org |