fix docker run -a stderr

Fixes #2695