-
Notifications
You must be signed in to change notification settings - Fork 117
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
erro[0149] error waiting for container: invalid character 'u' looking for beginning of value #5139
Comments
I have the same problem.
My steps to reproduce:
|
same issue here, docker for mac v3.0.3, engine v20.10.0 |
i encounter the same problem when trying to update code for chromium source:
|
Hello, I am getting a similar error. I had terminated one of the docker run command with ctrl c and then every container which I run next is stuck in created state and seems to be frozen. When I restarted docker desktop, I get the below error. can someone please suggest how to go about debugging this ? OS : macOS Catalina ERRO[13699] error waiting for container: invalid character 'u' looking for beginning of value |
Similar to the commenter above, I had terminated a docker run command with CTRL C and now I also have this error when running docker. EDIT: This issue was solved for me. I was using the |
The same error for me. Some container can run but some cannot |
Update: apparently the docker is waiting on response from the linux vm and linux seems to be stuck. The error messages posted above gets displayed only when the docker desktop is restarted. I did try to get into linux vm ( using docker run -it --privileged --pid=host debian nsenter -t 1 -m -u -n -I sh ) and was not able to kill the process running this container. Is there a way to find out why the linux vm is frozen ? got the below error I syslog while this happened. |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/remove-lifecycle stale |
/remove-lifecycle stale |
My container runs (the script runs fine on host machine) Host OS: macOS 11.1 |
Same issue for me |
1 similar comment
Same issue for me |
Same here, but I could solve it by resetting to factory defaults from the Troubleshoot menu. |
I'm having this same issue, running an ubuntu image, trying to compile a large project. resetting to factory defaults did not solve the issue for me. |
Happened again to me today, and this time resetting to factory defaults didn't solve it for me anymore either 😞 After reading this (related/same) issue I tried killing all Docker-related processes and even rebooted, nothing fixes it for me anymore... UPDATE: got it working now by increasing memory in the resources settings (after resetting to factory defaults). Not sure if it's just a coincidence because it restarted Docker again (and it randomly works after some restarts?), but it's working for me now. |
I made this script to restart docker and kill com.docker.vmnetd #!/bin/bash
read -p "Are you sure you want to kill docker and com.docker.vmnetd? [y/n]" -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
# do dangerous stuff
$(killall Docker)
pid=$(ps aux | grep com.docker.vmnetd | grep -v grep | awk '{print $2}')
echo "Killing $pid"
$(sudo kill -9 $pid)
$(open /Applications/Docker.app)
fi
|
Yes!!! |
I am having a similar issue. I am running on Mac OS I am executing a make from inside a container. What has changed are the docker versions, the rest of my environment hasn't changed. When I execute: I get an error that it can't find docker.sock. I usually click or unclick the Docker Compose v2 experimental feature and re run the command and I get stuck in the docker build: make -C $FPC_PATH/utils/docker build The only way to get out of that is to restart Docker Desktop and that is when I get the invalid character. I have reset factory settings, increased Resources memory, added DOCKER_BUILDKIT_PROGRESS=plain just to be sure where it hangs. |
@munapower I resolved a similar issue by updating to Docker Desktop Version 3.5.2 (3.5.2.18). |
same here and i see funny characters "^[[51;8R" when running shell |
I had the same issue, the problem was that I had no disk space left on my host machine. |
I have the same issue. |
/remove-lifecycle stale |
Known issue on Mac by default, either don't use a Mac, or ensure Docker engine is configured. Solution, always ensure there is enough memory for /remove-lifecycle stale |
Issues go stale after 90 days of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
/lifecycle frozen |
Is this still not resolved? the |
This has started to happen for me randomly after last update of Docker Destop for Mac to version o
|
same thing here @davidlukac, have you found a solution? |
I doubt it's same root issue y'all are seeing but I'm seeing this error when vpnkit crashes on Docker for Mac (intel and arm64). |
I have this problem when using VNC to connect to |
I have the same issue! |
getting similar error on macos, m2 chip |
Hey guys, same here since I updated to MacOS ventura... M1 chip, I have to restart as well Docker and sometimes do some factory reset... |
I have second machine which runs on windows 10, exact same docker-compose.yml file works flawlessly, however after running the same containers on my m2 macbook pro, I see that 2 of those containers restarting after some time, then the whole docker crashes and I see that error on the console. Then I'm unable to restart, quit the docker. I need to restart the whole laptop. For simple projects, i haven't noticed such a problem |
In my case it was due to CR line ending. Changing to CRLF resolved the issue for me! |
Can you please elaborate on this, how can we achieve the same? |
Seems like there is no problem when I downgraded the version to 4.12.0 |
Not seeing this anymore after upgrading docker to 4.15.0, on an apple M1 with Ventura 13.0. |
I get this issue all the time, even on 4.15.0. The workaround for me is: |
When running changing |
I get this issue with Docker for Mac 4.16.1 on macOS 13.1 (22C65) randomly. |
Also seeing this consistently near 100% repro with using chrome/brave and playwright with 4.17.0, seems to be related to streaming a lot of data via the TCP connections? |
I'm currently hitting this 100% of the time when running on OSX
|
Are you all normal?
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2022年11月15日(星期二) 晚上8:56
收件人: ***@***.***>;
抄送: "@***@***.***>; ***@***.***>;
主题: Re: [docker/for-mac] erro[0149] error waiting for container: invalid character 'u' looking for beginning of value (#5139)
Seems like there is no problem when I downgraded the version to 4.12.0
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Expected behavior
I run google 'gclient sync' in ssh shell connecting to docker container running ubuntu18.04 based system.
it always exit and report erro[0149] error waiting for container: invalid character 'u' looking for beginning of value.
and the docker seem hang until restart docker
Actual behavior
docker hang unti restart
Information
MACOS Big Sur 11.1 Beta版(20C5061b)
Diagnostic logs
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: