Here we find a new issue in this image that impacts our download file function. The download file has corrupted characters. After run into the docker container, it will show a warning message:
![](https://img.haomeiwen.com/i14018327/570c224437e23949.png)
And the issue is solved by executing command:
apt-get install -y locales
locale-gen en_US.UTF-8
I also generate a locale file by executing update-locale en_US.UTF-8.
After these settings , our project file can be downloaded without corrupted characters now.
Here is the reference:https://www.thomas-krenn.com/en/wiki/Configure_Locales_in_Ubuntu
网友评论