Skip to content

Node information in inspect container response #569

Description

@vuminhkh

Hello,

I found out that the "Node" key is missing in the InspectContainerResponse model (it's only available in swarm environment) :

docker inspect 4414792b06a6
[
{
"Id": "4414792b06a6e8349bef703619fc8f4a1b88c7e4f482dc78575e1b3ed872f51a",
...
"Node": {
"ID": "7Z5I:GYD7:LVJZ:3DRS:X2BV:SLCN:BPQ6:6PBN:DKZL:MU4J:HLM5:GDAU",
"IP": "192.168.1.3",
"Addr": "192.168.1.3:2376",
"Name": "bootstrapopenstackswarm-managermachine-1",
"Cpus": 1,
"Memory": 2098298880,
"Labels": {
"executiondriver": "native-0.2",
"kernelversion": "3.19.0-39-generic",
"operatingsystem": "Ubuntu 15.04",
"storagedriver": "aufs"
},
"Version": "1.9.1"
...
}`

In docker remote API documentation there are not any information about this key neither. I'm adding this key to my fork, if you're ok I'll perform pull request once it's done. Thanks.

Minh Khang VU

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions