Unicode decodeerror after docker compose execution: 'GBK' error how to handle

Alibaba cloud Q & A 2022-02-13 06:22:16 阅读数:249

unicode decodeerror docker compose execution
Building vbackendTraceback (most recent call last): File "docker-compose", line 6, in <module> File "compose\cli\main.py", line 71, in main File "compose\cli\main.py", line 127, in perform_command File "compose\cli\main.py", line 1080, in up File "compose\cli\main.py", line 1076, in up File "compose\project.py", line 475, in up File "compose\service.py", line 358, in ensure_image_exists File "compose\service.py", line 1082, in build File "site-packages\docker\api\build.py", line 150, in buildUnicodeDecodeError: 'gbk' codec can't decode byte 0xaa in position 166: illegal multibyte sequence[5856] Failed to execute script docker-compose



Take the answer 1:

Hello! , Please check compose Of yml The file contains Chinese or Chinese special characters , It's normal to remove Chinese !!


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130622151561.html