Gathering detailed insights and metrics for dockerode-compose
Gathering detailed insights and metrics for dockerode-compose
Gathering detailed insights and metrics for dockerode-compose
Gathering detailed insights and metrics for dockerode-compose
npm install dockerode-compose
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
145 Stars
126 Commits
31 Forks
10 Watching
1 Branches
10 Contributors
Updated on 25 Nov 2024
Minified
Minified + Gzipped
JavaScript (98.75%)
Dockerfile (1.25%)
Cumulative downloads
Total Downloads
Last day
-11.4%
233
Compared to previous day
Last week
-22.4%
1,161
Compared to previous week
Last month
10.1%
5,380
Compared to previous month
Last year
161.1%
44,231
Compared to previous year
docker-compose
in Node.js using dockerode.
Everything is executed programmatically using dockerode
, consequently Docker's API.
npm install dockerode-compose
To use dockerode-compose
first you need to instantiate it:
1var Dockerode = require('dockerode'); 2var DockerodeCompose = require('dockerode-compose'); 3 4var docker = new Dockerode(); 5var compose = new DockerodeCompose(docker, './test/wordpress.yml', 'wordpress'); 6 7(async () => { 8 await compose.pull(); 9 var state = await compose.up(); 10 console.log(state); 11})();
mocha
and chai
. Run them with npm test
.Check the examples folder for more specific use cases examples.
Pedro Dias - @pedromdias
Licensed under the Apache license, version 2.0 (the "license"); You may not use this file except in compliance with the license. You may obtain a copy of the license at:
http://www.apache.org/licenses/LICENSE-2.0.html
Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "as is" basis, without warranties or conditions of any kind, either express or implied. See the license for the specific language governing permissions and limitations under the license.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
Found 7/18 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-25
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