New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

docker-inspector

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docker-inspector

Inspect one or all docker containers on one or more hosts

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

docker

FAQs

Package last updated on 15 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts