Gathering detailed insights and metrics for docker-allcontainers
Gathering detailed insights and metrics for docker-allcontainers
Gathering detailed insights and metrics for docker-allcontainers
Gathering detailed insights and metrics for docker-allcontainers
Get notified when a new container is started or stopped
npm install docker-allcontainers
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
361,060
Last Day
179
Last Week
705
Last Month
3,046
Last Year
50,788
MIT License
19 Stars
45 Commits
5 Forks
3 Watchers
2 Branches
7 Contributors
Updated on Jul 11, 2019
Minified
Minified + Gzipped
Latest Version
0.8.0
Package Id
docker-allcontainers@0.8.0
Size
2.92 kB
NPM Version
5.5.1
Node Version
8.9.0
Cumulative downloads
Total Downloads
Last Day
459.4%
179
Compared to previous day
Last Week
9.8%
705
Compared to previous week
Last Month
-22%
3,046
Compared to previous month
Last Year
8.7%
50,788
Compared to previous year
1
Get notified when a new container is started or stopped
## Install
1npm install docker-allcontainers --save
1var allContainer = require('docker-allcontainers') 2var ee = allContainers({ 3 preheat: true, // emit starts event for all already running containers 4 docker: null, // options to Dockerode 5 matchByName: /hello/, // optional 6 matchByImage: /matteocollina/, //optional 7 skipByName: /.*pasteur.*/, //optional 8 skipByImage: /.*dockerfile.*/ //optional 9}) 10ee.on('start', function(meta, container) { 11 // container is a Dockerode Container 12 // see Dockerode API 13 console.log('started', meta) 14}) 15ee.on('stop', function(meta, container) { 16 // container is a Dockerode Container 17 // see Dockerode API 18 console.log('stopped', meta) 19}) 20 21// stop after 5 secs 22setTimeout(function() { 23 ee.destroy() 24}, 5000)
## License
MIT
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 7/19 approved changesets -- score normalized to 3
Reason
7 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-04-28
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More