Python printing issue in a docker container
aleozlx opened this issue · 0 comments
aleozlx commented
Without either python -u
or sys.stdout.flush()
or docker -t
, it's missing output.
ref: https://stackoverflow.com/questions/29663459/python-app-does-not-print-anything-when-running-detached-in-docker
Currently adding docker -t
argument (where it shouldn't be necessary).