-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UnicodeDecodeError"utf-8" on Windows10pro #5967
Comments
Might that be related to #5826 ? |
This isuue resolved. |
@kaibara Can you please explain further what you mean by "I mistaked setting .env file". I am facing the same issue but can't figure out the steps you took that fixed the problem. |
@Gerald-C I think that it was caused by installing docker when the basic character code of windows is not |
@kaibara Still learning docker, my problem was - im trying to run an asp.net-core project using docker in visual studio. had a good run until i was trying to add a .env file for some environment variables. That's when the build failed with exactly the same stack trace and google got me here. Without the .env file, things work fine so far. Here is my docker-compose.yml without using .env file:
and with .env file, I use a variable for the SA_PASSWORD `version: '3.4' services: My .env file just has this one line
|
Forgive the spacing and indenting, they seem to have been lost in copying and pasting. |
I had the same error and fixed it by removing the .etc file. |
I had this too, and found that my I can only wonder why someone would implement a "UTF-8 reader" and then forget to make it compatible with the well-documented marker that indicates that UTF-8 data is coming... :sigh: |
Thanks @PjotrB -- Your recommendation resolved the issue for me on Windows 10. |
Description of the issue
I got the Error when
docker-compose up
on powershellContext information (for bug reports)
Steps to reproduce the issue
1.Job File install to local
2.move installed directory on
powershell
3.
docker-compose up
Observed result
Expected result
docker-compose up
finishedStacktrace / full error message
Additional information
OS version:
Windows 10 Pro
docker-compose
install method:Binary from (github release page)[https://github.com/docker/compose/releases]
and docker ce for windows installer (stable channel) from (docker store)[https://store.docker.com/editions/community/docker-ce-desktop-windows]
The text was updated successfully, but these errors were encountered: