-
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
docker-compose up –abort-on-container-exit: UnicodeDecodeError: 'ascii' #3806
Comments
First off, it looks like your YAML has an indentation problem - Secondly, that's a really strange problem and I can't reproduce it. Are you absolutely sure it's the |
I think your YAML has problem with special characters (hidden characters?), make sure that service name does not contains special characters ('ascii' codec can't decode byte 0xe2). From debug info, I see docker compose cannot find service via name and raise NoSuchService exception (line 555, project.py) |
We're starting to see this error now, same mac versions and docker versions, we're using docker for mac though. We're not using --abort-on-container-exit and we're seeing it on multiple projects, who's docker-compose files work fine on other machines with the same docker and mac versions. Anyone got any other ideas? |
I am seeing this error with just a simple docker-compose up. Using Docker Toolbox on my Mac 10.11.6 (15G1004). Docker version 1.12.0, build 8eab29e ERROR: for ssg 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128) This just started happening this week. The only change that to this machine that I am aware of is the Sept 1 Mac Security update that was installed today (Security Update 2016-001 El Capitan and Security Update 2016-005 Yosemite). Any help is appreciated. NOTE: I had the same error with Docker for Mac - tested on both Docker Toolbox and Docker for Mac after I realized there was an issue. Monica |
@mhockelberg We completely removed all docker apps, then reinstalled everything, and it still didn't work. Then we ran the reset option from within the preferences for docker for mac and it all worked again. I'd try using the reset option if you can first, as that may have been all that we needed to do. No idea what the actual problem is though. |
I have a similar problem. If my docker-compose.yml contains any non ASCII characters in comments AND I tried to docker-compose start from bash script via SSH on remote server I got UnicodeDecodeError. BUT when I did it from ssh shell there is no error. Linux arch64 4.8.4-1-ARCH #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016 x86_64 GNU/Linux |
got the same issue here my docker config
can't find the unicode ... UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 13: ordinal not in range(128) |
same here on a fresh Arch Linux install :( |
@chris-aeviator If you're able to share the version of the file that was causing the issue, it'd go a long way in helping fix the bug. |
I retested with the current version of compose and got the same error. If my docker-compose.yml contains any non ASCII characters in comments AND I tried to docker-compose start from bash script via SSH on remote server I got UnicodeDecodeError. BUT when I did it from ssh shell there is no error. compose file: services: e with accent: éthe error message: versions: Docker version 17.11.0-ce, build 1caf76ce6b docker-compose version 1.17.1, build unknown |
Should be fixed by #5833 |
docker-compose up works fine but with --abort-on-container-exit i'm getting the following error.
macos 10.11.5
Docker version 1.12.0, build 8eab29e
docker-compose version 1.8.0, build f3628c7
The text was updated successfully, but these errors were encountered: