Short version
Put this in your Dockerfile:
ENV PYTHONIOENCODING=utf-8
or as mentioned in the comments above pass it on the command line:
docker run -e PYTHONIOENCODING=utf-8 my-python-image some-command
Long version:
When you start the Python interpreter, Python has to set up stdout in order to send output to your terminal. On your modern O/S, your terminal probably reports that it supports UTF-8 or some other advanced encoding. You can see what encoding is used by running this command:
$ python -c 'import sys; print(sys.stdout.encoding)'
UTF-8
When you run a docker container, the environment variables Python would expect to use a more advanced encoding are not present, and so Python will fall back to a basic character set to ensure compatibility. You can verify this by running the same command in your container:
$ docker run my-python-image python -c 'import sys; print(sys.stdout.encoding)'
ANSI_X3.4-1968
When we pass PYTHONIOENCODING we see the sys.stdout.encoding is set appropriately:
$ docker run -e PYTHONIOENCODING=UTF-8 my-python-image python -c 'import sys; print(sys.stdout.encoding)'
UTF-8
Read about PYTHONIOENCODING in the Python documentation. This answer also goes into great detail about encoding/decoding and stdout.