-
Notifications
You must be signed in to change notification settings - Fork 35
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
0.0.16: JSON Error when listing containers #84
Comments
Thank you for your report. I'll check the api. |
@MCOfficer
$ docker inspect <container-id> | jq '.[].NetworkSettings' or more specific: $ docker inspect <container-id> | jq '.[].NetworkSettings.Networks'
|
I will try, but it might take some time (there are >50 containers on the server in question). Is there any way to log which container fails? I will be able to test on monday.
No can do, i'm afraid. If you tell me what to look for, i might be able to create a MRE, though. |
It is difficult. I expect to the deserializer of the network infomations (especially,
Even an example of something different from |
Thank you for maintaining I'm currently trying to replace I fought with quite a few of these errors back in the day when working on
I would actually love to completely deprecate |
Oh damn, i forgot this. Thanks for posting and thus giving me a notification. I just checked, and all containers have "NetworkSettings": {
"Bridge": "",
"SandboxID": "7c5ebca03e210aa5cdfa81206950a72584930291812fc82502ae0406efca60cf",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"3306/tcp": null
},
"SandboxKey": "/var/run/docker/netns/7c5ebcaace21",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "0a9c1de4bebcbf778248009fe2b4a747478e2136645563de7ba8d48f287d9388",
"Gateway": "172.11.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "171.11.0.70",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "01:42:0c:11:c0:f9",
"Networks": {
"bridge": {
"IPAMConfig": {},
"Links": null,
"Aliases": null,
"NetworkID": "c6bcc45303b33fb881911c25e755da483291123b0a8099e42b2226bcd4f2d549",
"EndpointID": "0a9c1de4bebcbf778248009fe2b4a74432012136645563de7ba8719e987d9388",
"Gateway": "172.11.0.1",
"IPAddress": "172.11.0.70",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "01:42:0c:11:c0:f9",
"DriverOpts": null
}
}
} |
@MCOfficer |
Hello,
I just updated to 0.0.16, and a debian server i test on does not seem to like it, throwing a JSON error when trying to list containers:
The same code works, on the same machine, with 0.0.15. My development PC works fine with both.
The server's docker version:
and my computer's:
Please tell me if there's anything else i can provide.
The text was updated successfully, but these errors were encountered: