in reply to Docker Container Started With Docker-Compose and <STDIN>

I think you have either mis-diagnosed the problem, or have a buggy version of docker. (maybe the Windows part, I've only used it on Linux) This behaves as expected for me, reading one line of input and printing it:
$ echo "yes" | docker run --rm -i debian perl -e 'print(<STDIN>)' yes
This also behaves as expected, reading nothing and exiting immediately:
$ docker run --rm debian perl -e 'print(<STDIN> or "(EOF)")' (EOF)
So, if you have a script that is reading STDIN inside docker and hanging, it sounds like you need to make sure not to specify "-i" from the docker-compose config, or maybe something else is happening entirely.