Build with: docker build -t dockercat .
Run with: echo 'Hello World, from DockerCat' | docker run --rm -i dockercat
By the way in a quick test dockercat was only 500 times slower than /bin/cat,
also for other commandline apps you may want to use docker run --rm -it
to get
a pseudo tty
| \
| |
| |
|\ | |
/, ~\ / /
X `-.....-------./ /
~-. ~ ~ |
\ / |
\ /_ ___\ /
| /\ ~~~~~ \ |
| | \ || |
| |\ \ || )
(_/ (_/ ((_/