in reply to Docker Container Started With Docker-Compose and <STDIN>
You are hanging because you have an open filehandle and nothing to read. If you close STDIN; you would get "readline() on closed filehandle STDIN" -the read won't "hang". Not sure if that helps?