-
Notifications
You must be signed in to change notification settings - Fork 121
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
invalid character 's' looking for beginning of value #6575
Comments
The issue doesn't happen with the version 4.12.0 |
I've been plagued with this exact same issue too.
I have a second machine that has never run x86 containers. To date, it has never had this problem. May or may not be relevant. This bug is incredibly disruptive. |
Same problem here with chipset Apple M1 Max.
and then I have to kill all processes and restart docker. |
Same problem with Intel Mac Book with or without Virtualiation framework, with gRPC Fuse or VirtioFS. |
Same error on M1 Max, macOS 13.0.1, Docker Desktop 4.15.0 I downgraded Docker Desktop to 4.12.0 and it's working fine so far. The steps I followed for downgrading are here https://stackoverflow.com/questions/62217678/can-i-roll-back-to-a-previous-version-of-docker-desktop/64825028#64825028 |
I was getting the same issue running selenium tests (using |
Before this change, you would see an error message like: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explieict. Signed-off-by: Nick Santos <[email protected]>
Before this change, you would see an error message like: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explieict. Signed-off-by: Nick Santos <[email protected]>
Before this change, you would see an error message like: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]>
This is still an issue with version 4.15.0 (93002), M1, Mac OS 13.1.0. I have no idea if it's related, but running
|
Repro steps: - Run Docker Desktop - Run `docker run busybox tail -f /dev/null` - Run `pkill "Docker Desktop" Expected: An error message that indicates that Docker Desktop is shutting down. Actual: An error message that looks like this: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]>
I get the same error with 4.15.0, M1, Mac OS 13.1.0 |
Just ran into this again. It's been plaguing me for a few months now. |
I believe this thread may be suffering from the same issue as being discussed in #6530. There was a fix rolled into version 4.16, so I would encourage those of you in this thread to upgrade to that version and see if solves the issue. |
We're seeing this very frequently on macOS 12 (x86) + 4.16.2 (95914), even with a simple interactive docker run of bash, sometimes it quit after a while of idling, with:
The taskbar icon of docker desktop will show the booting animation, seems something's restarting, but taking forever. OS reboot, or killing I also found this old issue may be related, although not many answers there either: |
After seeing this, I updated docker and started the containers that I normally start. I left docker running over the weekend and didn't really do anything. Came back to it this morning, and I have the same error as in the description. It doesn't seem that 4.16 fixes the issue. |
I am getting I am running Docker Desktop 4.15.0, on macOS Ventura, MacBook Pro 2019. |
Repro steps: - Run Docker Desktop - Run `docker run busybox tail -f /dev/null` - Run `pkill "Docker Desktop" Expected: An error message that indicates that Docker Desktop is shutting down. Actual: An error message that looks like this: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]>
Repro steps: - Run Docker Desktop - Run `docker run busybox tail -f /dev/null` - Run `pkill "Docker Desktop" Expected: An error message that indicates that Docker Desktop is shutting down. Actual: An error message that looks like this: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]>
Repro steps: - Run Docker Desktop - Run `docker run busybox tail -f /dev/null` - Run `pkill "Docker Desktop" Expected: An error message that indicates that Docker Desktop is shutting down. Actual: An error message that looks like this: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]> (cherry picked from commit 9900c7a) Signed-off-by: Sebastiaan van Stijn <[email protected]>
Repro steps: - Run Docker Desktop - Run `docker run busybox tail -f /dev/null` - Run `pkill "Docker Desktop" Expected: An error message that indicates that Docker Desktop is shutting down. Actual: An error message that looks like this: ``` error waiting for container: invalid character 's' looking for beginning of value ``` here's an example: docker/for-mac#6575 (comment) After this change, you get an error message like: ``` error waiting for container: copying response body from Docker: unexpected EOF ``` which is a bit more explicit. Signed-off-by: Nick Santos <[email protected]>
+1 |
This happens to me on Windows, so it doesn't seem like a Mac only problem. More details on: AbdBarho/stable-diffusion-webui-docker#336 Edit: Solved updating my pip version. |
I can confirm turning off the Docker Compose V2 fixes the |
I am having the same issue and I tried everything mentioned, still get the error. Driving me crazy. Did multiple re-install, uncheck docker compose V2, clean purge data, factory resets, updating pip version, uncheck experimental features etc. still getting the error. Every time I have to kill all docker activity from the activity monitor. I am running on mac m1, latest docker version v4.17.0, big sur |
On Windows, I went to C:\Users\sam\AppData\Roaming\Docker , opened locked-directories file and replaced content with {} , then save file and restart docker desktop |
Unchecking compose V2, reinstalling Docker, clearing Docker cache, disabling experimental features did not resolve the problem for me. Downgrading to 4.12.0 solves the issue, but is not a long-term solution |
This issue is affecting me and another user too - Last known working version is 4.12.0 but as stated above, running this is not a long term solution and i am finding myself wanting to update however cannot due to the fact it will break some containers. I did read in another issue that it is to do with sending large volumes of data via UDP - I can confirm that in the minutes before the error the container has significant netowrking issues (failres in name resolution, failures to connect). |
Also experiencing this. Very disruptive. |
I am getting this error on version 4.16.3 docker stops itself a few minutes after starting sequencing:
|
Updating to version 4.20.1 resolved the error |
Just ran into this for the very first time, Docker Desktop Docker pretends the container is still running when it is not. 😮 |
Hi all! Thanks for reporting these issues. As far as I can tell, there are a few different bugs being reported here, and many (all?) of them have been fixed in newer versions of Docker Desktop (e.g., the selenium problem reported in this comment #6575 (comment) which is tracked here: #6530) The exact error message "invalid character 's' looking for beginning of value" is a bit of a red herring. It means that something in the engine failed, but doesn't give you any useful information into what failed. The message is due to a bug in the Docker CLI error-handling that is fixed here: moby/moby#44739. We don't expect this error message to show up anymore in new versions of Docker Desktop. If you still see issues after upgrading to Docker Desktop 4.22, please open a new issue, so we can track it separately. Thanks! |
I am running several versions of Docker from 4.18 to 4.22 and still getting this error. Will update to the latest versions but I suspect this issue is still lurking past the changes assumed to have resolved this issue. |
Expected behavior
I would normally expect my containers and docker to be running without a problem.
Actual behavior
It usually doesnt happen with my other project set up, it only happens with one of my projects. But this problem doesnt happen in my windows with the exactly same setup. Once I start containers, after some time docker icon starts to play, and it stops. not just tops but it gets unable to restart or quit. I need to restart the laptop get it back. I tried reinstall, factory reset, deleting all images and containers, and making them again. But problem persists.
Information
Output of
/Applications/Docker.app/Contents/MacOS/com.docker.diagnose check
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: