Skip to content
This repository was archived by the owner on Oct 24, 2020. It is now read-only.

cpollet/docker-stream

Repository files navigation

docker-stream

The goal of docker-stream is to be able to chain containers just like one chain linux/unix commands using pipes (like ps -aux | grep -v grep | whatever). Each container's output becomes the next one's input. At the moment, the stream is described in a yaml file. You can refer to docker-stream.yml as an example of such a file.

The idea behind it is to be able to build complex processes while keeping each docker images involved as simple as possible. It is an attempt to apply the single responsibility principle to docker images.

This project is a POC to validate this idea.

Run

go get ./...
go run -ldflags "-X main.gitHash=$(git rev-parse HEAD)" docker-stream.go
go install -ldflags "-X main.gitHash=$(git rev-parse HEAD)"

About

chain docker containers execution as a stream

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages