Newly Paranoid Maintainers
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

docker-stream

1.1.1 • Public • Published

docker-stream

CLI tool for automating the use of docker containers in streaming data processing pipelines. Works on Windows, Mac and Linux.

NPM

Installation

npm install docker-stream -g

You also need to install docker. If you are on Linux you should only need docker. If you are on Mac/Windows you should install boot2docker instead.

Usage

docker-stream <docker container tag or id>

This will only work with containers that have an entrypoint in their Dockerfile set to a program that accepts STDIN and writes to STDOUT/STDERR. Data piped into docker-stream will be piped into the docker container's entrypoint and then back out again.

If you run docker-stream with a container that isn't downloaded yet docker will automatically download it for you.

Try it out

echo '{"foo": "bar"}' | docker-stream maxogden/docker-r-transform

Keywords

none

install

npm i docker-stream

Downloadsweekly downloads

8

version

1.1.1

license

BSD

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability