An open API service indexing awesome lists of open source software.

https://github.com/oresoftware/docker-pipeline-example

A simple shell pipeline `docker run a | docker run b` for experimenting with docker stdio
https://github.com/oresoftware/docker-pipeline-example

bash docker pipeline pipes shell

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Example of shell pipelines with docker

To run the example:

```bash
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).

```bash

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.