strider-docker-runner

1.2.0 • Public • Published

strider-docker-runner

Quick Start

  • grab this repo, npm link it into your strider installation
  • get docker going, and it needs to be broadcasting over http
  • docker pull strider/strider-docker-slave
  • choose the docker runner in the plugin config page
  • start strider with the appropriate info about how to connect to docker, e.g. DOCKER_IP=192.168.59.103 DOCKER_PORT=2375 ./bin/strider

Required Environment Variables

You can either use DOCKER_IP and DOCKER_PORT or you can choose to use DOCKER_HOST. Expected formats:

dockerUtil#normalizeOptions()
  passing in nothing
    ✓ defaults to default socket path
  using environment variables DOCKER_IP and DOCKER_PORT
    ✓ returns expected dockerode connection structure
  using environment variable DOCKER_HOST
    ✓ understands http://127.0.0.1:4243
    ✓ understands unix:///var/run/docker.sock
    ✓ understands tcp://127.0.0.1:4243

Profit! see this comment in the "prepare" phase telling you that docker is alive

Readme

Keywords

Package Sidebar

Install

npm i strider-docker-runner

Weekly Downloads

0

Version

1.2.0

License

MIT

Last publish

Collaborators

  • knownasilya
  • jabapyth