Get unlimited public & private packages + team-based management with npm Teams.Learn more »

screwdriver-executor-docker

4.2.3 • Public • Published

Docker Executor

Version Downloads Build Status Open Issues Dependency Status License

Docker Executor for Screwdriver

This is an executor for Screwdriver CD that interacts with Docker (local and remote).

Usage

npm install screwdriver-executor-docker

Initialization

The class has a variety of knobs to tweak when interacting with Docker.

Parameter Type Description
config Object Configuration Object
config.docker Object Dockerode configuration
config.ecosystem Object Screwdriver Ecosystem (ui, api, store, etc.)
config.fusebox Object Circuit Breaker configuration
config.launchVersion String Launcher container version to use (stable)
config.prefix String Prefix to container names ("")
const executor = new DockerExecutor({
    docker: {
        socketPath: '/var/lib/docker.sock'
    },
    launchVersion: 'stable'
});

Methods

For more information on start, stop, and stats please see the executor-base.

Testing

npm test

License

Code licensed under the BSD 3-Clause license. See LICENSE file for terms.

Install

npm i screwdriver-executor-docker

DownloadsWeekly Downloads

125

Version

4.2.3

License

BSD-3-Clause

Unpacked Size

15.3 kB

Total Files

6

Last publish

Collaborators

  • avatar