Sign inSign up

mukuntharajaa/readstdin

By mukuntharajaa

•Updated over 6 years ago

Shell script which reads from stdin and prints on stdout

Image
0

191

mukuntharajaa/readstdin repository overview

If we run script natively in host, it waits for user input Same script inside a container, does not wait, rather prints output only

$ docker run -i mukuntharajaa/readstdin Enter your name: mrajaa Hi hello mrajaa

$ docker run mukuntharajaa/readstdin Enter your name: Hi hello

Tag summary

Content type

Image

Digest

Size

2.7 MB

Last updated

over 6 years ago

docker pull mukuntharajaa/readstdin