Shell script which reads from stdin and prints on stdout
191
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
Content type
Image
Digest
Size
2.7 MB
Last updated
over 6 years ago
docker pull mukuntharajaa/readstdin