https://bugs.winehq.org/show_bug.cgi?id=52743
--- Comment #8 from Eric Pouech eric.pouech@orange.fr ---
Forgot to add, this isn't using docker, just shell; but I suspect in the process of the test script calling winetricks calling wine, the stdin|stdout|stderr is lost..
that's what's the patch tries to tackle: create a dummy console when neither of stdin/stdout/stderr is opened on an unix tty (so mainly running from shell as: ./wine ... >& log < /dev/null will fall into this)