$ echo "yes" | docker run --rm -i debian perl -e 'print()' yes