Skip to content

A simple shell pipeline `docker run a | docker run b` for experimenting with docker stdio

Notifications You must be signed in to change notification settings

ORESoftware/docker-pipeline-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of shell pipelines with docker

To run the example:

set -e;
clone_url='https://github.com/ORESoftware/docker-pipeline-example.git'
git clone "$clone_url" dpe && cd dpe
./run.sh

Basically we just want a shell pipeline to toy with (maybe we want to see about perf degradation when using stdio and docker).

docker run --rm -ti 'dpe-producer' | docker run --rm -i 'dpe-consumer'

To kill the pipeline

To kill it you seem to need to use ctrl-d before ctrl-c. It should kill the producer first, which should then begin the demise of the consumer.

About

A simple shell pipeline `docker run a | docker run b` for experimenting with docker stdio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published