-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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] Docker lib version 6.1.0 breaks Glances #2366
Comments
Additional info With Docker 6.0.1:
With Docker 6.1.0:
|
Solve by forcing a stream=True option on the stats() method. |
@nicolargo Could you just verify that it works fine once more on your end, before making the release? |
@RazCrimson I confirm it works on my side with the |
Weird, not sure now it's failing on my end. Anyways it's fine if it's working then. 🙂 |
Strange it works when i start Glances from my host (make run). But it fails when i run it from a container (make run-docker-alpine-dev)... If i disable the Docker plugin, it work: docker run --rm -e TZ="" -e GLANCES_OPT="" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host --network host -it glances:local-alpine-dev docker run --rm -e TZ="" -e GLANCES_OPT="--disable-plugin docker" -v /var/run/docker.sock:/var/run/docker.sock:ro --pid host --network host -it glances:local-alpine-dev |
Inside the glances:local-alpine-dev container:
|
My bad ! I use the version 6.0.1 on my host, it is why it is working ! So the issue is not resolved by the use of |
So waiting for docker/docker-py#3118 correction, we have to pin the Docker-Py version to 6.0.1... |
Closing this as we have a newer release with the required patch in 6.1.1 |
After an upgrade from Docker lib version 6.0.1 to 6.1.0, Glances do not start anymore.
Workaround waiting merge of #1985 : Pin Docker to 6.0.1
The text was updated successfully, but these errors were encountered: