mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #17422 from calavera/inspect_networks_docs
Update inspect api examples with new network settings.
This commit is contained in:
commit
94811ae814
2 changed files with 86 additions and 26 deletions
|
@ -437,11 +437,26 @@ Return low-level information on the container `id`
|
||||||
"Name": "/boring_euclid",
|
"Name": "/boring_euclid",
|
||||||
"NetworkSettings": {
|
"NetworkSettings": {
|
||||||
"Bridge": "",
|
"Bridge": "",
|
||||||
|
"SandboxID": "",
|
||||||
|
"HairpinMode": false,
|
||||||
|
"LinkLocalIPv6Address": "",
|
||||||
|
"LinkLocalIPv6PrefixLen": 0,
|
||||||
|
"SandboxKey": "",
|
||||||
|
"SecondaryIPAddresses": [],
|
||||||
|
"SecondaryIPv6Addresses": [],
|
||||||
|
"Ports": null,
|
||||||
|
"Networks": {
|
||||||
|
"bridge": {
|
||||||
|
"EndpointID": "",
|
||||||
"Gateway": "",
|
"Gateway": "",
|
||||||
"IPAddress": "",
|
"IPAdress": "",
|
||||||
"IPPrefixLen": 0,
|
"IPPrefixLen": 0,
|
||||||
"MacAddress": "",
|
"IPv6Gateway": "",
|
||||||
"Ports": null
|
"GlobalIPv6Address": "",
|
||||||
|
"GlobalIPv6PrefixLen": 0,
|
||||||
|
"MacAddress": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"Path": "/bin/sh",
|
"Path": "/bin/sh",
|
||||||
"ProcessLabel": "",
|
"ProcessLabel": "",
|
||||||
|
@ -2369,13 +2384,28 @@ Return low-level information about the `exec` command `id`.
|
||||||
"SecurityOpt" : null
|
"SecurityOpt" : null
|
||||||
},
|
},
|
||||||
"Image" : "5506de2b643be1e6febbf3b8a240760c6843244c41e12aa2f60ccbb7153d17f5",
|
"Image" : "5506de2b643be1e6febbf3b8a240760c6843244c41e12aa2f60ccbb7153d17f5",
|
||||||
"NetworkSettings" : {
|
"NetworkSettings": {
|
||||||
"IPAddress" : "172.17.0.2",
|
"Bridge": "",
|
||||||
"IPPrefixLen" : 16,
|
"SandboxID": "",
|
||||||
"MacAddress" : "02:42:ac:11:00:02",
|
"HairpinMode": false,
|
||||||
"Gateway" : "172.17.42.1",
|
"LinkLocalIPv6Address": "",
|
||||||
"Bridge" : "docker0",
|
"LinkLocalIPv6PrefixLen": 0,
|
||||||
"Ports" : {}
|
"SandboxKey": "",
|
||||||
|
"SecondaryIPAddresses": [],
|
||||||
|
"SecondaryIPv6Addresses": [],
|
||||||
|
"Ports": null,
|
||||||
|
"Networks": {
|
||||||
|
"bridge": {
|
||||||
|
"EndpointID": "",
|
||||||
|
"Gateway": "",
|
||||||
|
"IPAdress": "",
|
||||||
|
"IPPrefixLen": 0,
|
||||||
|
"IPv6Gateway": "",
|
||||||
|
"GlobalIPv6Address": "",
|
||||||
|
"GlobalIPv6PrefixLen": 0,
|
||||||
|
"MacAddress": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"ResolvConfPath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/resolv.conf",
|
"ResolvConfPath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/resolv.conf",
|
||||||
"HostnamePath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/hostname",
|
"HostnamePath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/hostname",
|
||||||
|
|
|
@ -435,11 +435,26 @@ Return low-level information on the container `id`
|
||||||
"Name": "/boring_euclid",
|
"Name": "/boring_euclid",
|
||||||
"NetworkSettings": {
|
"NetworkSettings": {
|
||||||
"Bridge": "",
|
"Bridge": "",
|
||||||
|
"SandboxID": "",
|
||||||
|
"HairpinMode": false,
|
||||||
|
"LinkLocalIPv6Address": "",
|
||||||
|
"LinkLocalIPv6PrefixLen": 0,
|
||||||
|
"SandboxKey": "",
|
||||||
|
"SecondaryIPAddresses": [],
|
||||||
|
"SecondaryIPv6Addresses": [],
|
||||||
|
"Ports": null,
|
||||||
|
"Networks": {
|
||||||
|
"bridge": {
|
||||||
|
"EndpointID": "",
|
||||||
"Gateway": "",
|
"Gateway": "",
|
||||||
"IPAddress": "",
|
"IPAdress": "",
|
||||||
"IPPrefixLen": 0,
|
"IPPrefixLen": 0,
|
||||||
"MacAddress": "",
|
"IPv6Gateway": "",
|
||||||
"Ports": null
|
"GlobalIPv6Address": "",
|
||||||
|
"GlobalIPv6PrefixLen": 0,
|
||||||
|
"MacAddress": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"Path": "/bin/sh",
|
"Path": "/bin/sh",
|
||||||
"ProcessLabel": "",
|
"ProcessLabel": "",
|
||||||
|
@ -2364,13 +2379,28 @@ Return low-level information about the `exec` command `id`.
|
||||||
"SecurityOpt" : null
|
"SecurityOpt" : null
|
||||||
},
|
},
|
||||||
"Image" : "5506de2b643be1e6febbf3b8a240760c6843244c41e12aa2f60ccbb7153d17f5",
|
"Image" : "5506de2b643be1e6febbf3b8a240760c6843244c41e12aa2f60ccbb7153d17f5",
|
||||||
"NetworkSettings" : {
|
"NetworkSettings": {
|
||||||
"IPAddress" : "172.17.0.2",
|
"Bridge": "",
|
||||||
"IPPrefixLen" : 16,
|
"SandboxID": "",
|
||||||
"MacAddress" : "02:42:ac:11:00:02",
|
"HairpinMode": false,
|
||||||
"Gateway" : "172.17.42.1",
|
"LinkLocalIPv6Address": "",
|
||||||
"Bridge" : "docker0",
|
"LinkLocalIPv6PrefixLen": 0,
|
||||||
"Ports" : {}
|
"SandboxKey": "",
|
||||||
|
"SecondaryIPAddresses": [],
|
||||||
|
"SecondaryIPv6Addresses": [],
|
||||||
|
"Ports": null,
|
||||||
|
"Networks": {
|
||||||
|
"bridge": {
|
||||||
|
"EndpointID": "",
|
||||||
|
"Gateway": "",
|
||||||
|
"IPAdress": "",
|
||||||
|
"IPPrefixLen": 0,
|
||||||
|
"IPv6Gateway": "",
|
||||||
|
"GlobalIPv6Address": "",
|
||||||
|
"GlobalIPv6PrefixLen": 0,
|
||||||
|
"MacAddress": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"ResolvConfPath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/resolv.conf",
|
"ResolvConfPath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/resolv.conf",
|
||||||
"HostnamePath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/hostname",
|
"HostnamePath" : "/var/lib/docker/containers/8f177a186b977fb451136e0fdf182abff5599a08b3c7f6ef0d36a55aaf89634c/hostname",
|
||||||
|
|
Loading…
Add table
Reference in a new issue