Created
April 19, 2016 16:17
-
-
Save ktbartholomew/82a921d380d1e7ab71687e9cdbd5766b to your computer and use it in GitHub Desktop.
Docker Remote API responses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Id": "1721a1902935b70929b733d20c9fcd016a8b7e59a2a6fa673029a7ff4bb2bb0a", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n2/swarm-agent" | |
], | |
"Image": "swarm:1.1.3", | |
"Command": "/swarm join --addr=10.69.210.186:42376 consul://localhost:12000", | |
"Created": 1461014803, | |
"Status": "Up 18 hours", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"host": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "f81ecfc9a902707ad217bbc2bd5b61599544815852ac5ba7a85ff68edcc93d88", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "1ec42e7b8f3dc615b3e0cdbd6921cb29489356ec9b8f886604bd3acc6226694d", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n2/swarm-data" | |
], | |
"Image": "cirros", | |
"Command": "/sbin/init", | |
"Created": 1461014800, | |
"Status": "", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "ceaaa68af4535b34624735932e23d605b3dde43bd98b2d412b62ab960ba8417b", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n2/carina-svcd" | |
], | |
"Image": "carina/consul", | |
"Command": "/bin/consul agent -bind 10.190.34.187 -client 127.0.0.1 -config-dir=/cfg/consul --data-dir /etc/consul/ -join 10.190.34.203", | |
"Created": 1461014799, | |
"Status": "Up 18 hours", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"host": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "3c5429483a6d9d12eae0bca4c3298b7f66c8bd14562f25f67d2e26b4249aa701", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "66c6a36c9138535cc45d600945eaed0fbf0a57049008694a5adca7172e095f7e", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n2/carina-svcd-data" | |
], | |
"Image": "cirros", | |
"Command": "/sbin/init", | |
"Created": 1461014796, | |
"Status": "", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "22b971a1a42b4c3d3f3cb7ea730d05273de32ec936ff421c7e857f5b13ebbf1d", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n1/determined_babbage" | |
], | |
"Image": "nginx", | |
"Command": "nginx -g 'daemon off;'", | |
"Created": 1461006258, | |
"Status": "Up 21 hours", | |
"Ports": [ | |
{ | |
"IP": "", | |
"PrivatePort": 443, | |
"PublicPort": 0, | |
"Type": "tcp" | |
}, | |
{ | |
"IP": "10.69.210.203", | |
"PrivatePort": 80, | |
"PublicPort": 80, | |
"Type": "tcp" | |
} | |
], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": { | |
"com.docker.swarm.id": "e3e520d3e4f46edb5b909ffc1ed740e4c5c70a98c2fdecf06be92652f6aa2e73" | |
}, | |
"NetworkSettings": { | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "03fa31503ad0c5cec7a4e237c245119dcd4e20e3188fd119933f2087ab4f001d", | |
"Gateway": "172.17.0.1", | |
"IPAddress": "172.17.0.2", | |
"IPPrefixLen": 16, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:ac:11:00:02" | |
}, | |
"foo": { | |
"IPAMConfig": {}, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "a1fb87ad88d0118e7af43e14c3444a28f334b243a93c5b31a181fba8dc09a3ca", | |
"Gateway": "", | |
"IPAddress": "10.0.0.2", | |
"IPPrefixLen": 24, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "02:42:0a:00:00:02" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "bebf821abf66335f686103f5f31d540f61cfec438e685804d9b981e332c60913", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n1/swarm-manager" | |
], | |
"Image": "swarm:1.1.3", | |
"Command": "/swarm manage -H=tcp://0.0.0.0:2376 --tlsverify --tlscacert=/etc/docker/ca.pem --tlscert=/etc/docker/server-cert.pem --tlskey=/etc/docker/server-key.pem consul://localhost:12000", | |
"Created": 1460672693, | |
"Status": "Up 4 days", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"host": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "f883d9e8a963175890e46223207dd9ea3833411db8aa764ebd16b8e71763bd5c", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "4edafc8d98290445b381cacb02a4662fcc1df33fcfe8aa10fc802230b688dd3b", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n1/swarm-agent" | |
], | |
"Image": "swarm:1.1.3", | |
"Command": "/swarm join --addr=10.69.210.203:42376 consul://localhost:12000", | |
"Created": 1460672692, | |
"Status": "Up 4 days", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"host": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "fae54a5bb77204e94c64231597eb97f868d3ad9bb73d6bb336874d4e5e35069d", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "bf718e676d25b66c514d0cc79dbeb0274f603c349c616346815c7ac1e198e477", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n1/swarm-data" | |
], | |
"Image": "cirros", | |
"Command": "/sbin/init", | |
"Created": 1460672689, | |
"Status": "", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "89662917ff3d001c7f0fec24464ea249b39435707be7cd019778793c2d4de524", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n1/carina-svcd" | |
], | |
"Image": "carina/consul", | |
"Command": "/bin/consul agent -bind 10.190.34.203 -client 127.0.0.1 -config-dir=/cfg/consul --data-dir /etc/consul/ -server -bootstrap -advertise 10.190.34.203", | |
"Created": 1460672689, | |
"Status": "Up 4 days", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"host": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "32c62b988dc24eaf80e413f81baa1a92900bcaeec4ba14133bfbff30f70d41bc", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
}, | |
{ | |
"Id": "9b84afd2307fbd3324e49d522263412615316c487584491204e97e5e842ba379", | |
"Names": [ | |
"/a01dc85a-4780-4336-a6b7-95c55bacf523-n1/carina-svcd-data" | |
], | |
"Image": "cirros", | |
"Command": "/sbin/init", | |
"Created": 1460672685, | |
"Status": "", | |
"Ports": [], | |
"SizeRw": 0, | |
"SizeRootFs": 0, | |
"Labels": {}, | |
"NetworkSettings": { | |
"Networks": { | |
"bridge": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "", | |
"EndpointID": "", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Created": 1459882423, | |
"Id": "sha256:eb4a127a1188a3e274eb38f079c5e11680b942927956a38b9b6b6c6736e14fd2", | |
"Labels": {}, | |
"ParentId": "", | |
"RepoDigests": [], | |
"RepoTags": [ | |
"nginx:latest" | |
], | |
"Size": 182661493, | |
"VirtualSize": 182661493 | |
}, | |
{ | |
"Created": 1459543980, | |
"Id": "sha256:d7a513a663c1a6dcdba9ed832ca53c02ac2af0c333322cd6ca92936d1d9917ac", | |
"Labels": null, | |
"ParentId": "", | |
"RepoDigests": [], | |
"RepoTags": [ | |
"alpine:latest" | |
], | |
"Size": 4798063, | |
"VirtualSize": 4798063 | |
}, | |
{ | |
"Created": 1456896186, | |
"Id": "sha256:291cbe419fe661bfff00d4b2ed7c599f348c7001c17042b2b9b369c495819715", | |
"Labels": {}, | |
"ParentId": "", | |
"RepoDigests": [], | |
"RepoTags": [ | |
"swarm:1.1.3" | |
], | |
"Size": 18106629, | |
"VirtualSize": 18106629 | |
}, | |
{ | |
"Created": 1454349991, | |
"Id": "sha256:2a49945a93ab198d8044528f9f47ddb70fb2097e3db082b6a1a483e92b5b53d4", | |
"Labels": null, | |
"ParentId": "", | |
"RepoDigests": [], | |
"RepoTags": [ | |
"carina/consul:latest" | |
], | |
"Size": 28491944, | |
"VirtualSize": 28491944 | |
}, | |
{ | |
"Created": 1451942707, | |
"Id": "sha256:f8ce316a37a79a89cb6f9ef65f23b38893fe291b519a8b18cf08af65872f02a9", | |
"Labels": null, | |
"ParentId": "", | |
"RepoDigests": [], | |
"RepoTags": [ | |
"cirros:latest" | |
], | |
"Size": 7735365, | |
"VirtualSize": 7735365 | |
} | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ID": "", | |
"Containers": 10, | |
"ContainersRunning": 6, | |
"ContainersPaused": 0, | |
"ContainersStopped": 4, | |
"Images": 8, | |
"Driver": "", | |
"DriverStatus": null, | |
"SystemStatus": [ | |
[ | |
"Role", | |
"primary" | |
], | |
[ | |
"Strategy", | |
"spread" | |
], | |
[ | |
"Filters", | |
"health, port, dependency, affinity, constraint" | |
], | |
[ | |
"Nodes", | |
"2" | |
], | |
[ | |
" a01dc85a-4780-4336-a6b7-95c55bacf523-n1", | |
"10.69.210.203:42376" | |
], | |
[ | |
" └ Status", | |
"Healthy" | |
], | |
[ | |
" └ Containers", | |
"6" | |
], | |
[ | |
" └ Reserved CPUs", | |
"0 / 12" | |
], | |
[ | |
" └ Reserved Memory", | |
"0 B / 4.2 GiB" | |
], | |
[ | |
" └ Labels", | |
"com.docker.network.driver.overlay.bind_interface=eth1, executiondriver=native-0.2, kernelversion=3.18.21-2-rackos, operatingsystem=Debian GNU/Linux 7 (wheezy) (containerized), storagedriver=aufs" | |
], | |
[ | |
" └ Error", | |
"(none)" | |
], | |
[ | |
" └ UpdatedAt", | |
"2016-04-19T16:10:51Z" | |
], | |
[ | |
" a01dc85a-4780-4336-a6b7-95c55bacf523-n2", | |
"10.69.210.186:42376" | |
], | |
[ | |
" └ Status", | |
"Healthy" | |
], | |
[ | |
" └ Containers", | |
"4" | |
], | |
[ | |
" └ Reserved CPUs", | |
"0 / 12" | |
], | |
[ | |
" └ Reserved Memory", | |
"0 B / 4.2 GiB" | |
], | |
[ | |
" └ Labels", | |
"com.docker.network.driver.overlay.bind_interface=eth1, executiondriver=native-0.2, kernelversion=3.18.21-2-rackos, operatingsystem=Debian GNU/Linux 7 (wheezy) (containerized), storagedriver=aufs" | |
], | |
[ | |
" └ Error", | |
"(none)" | |
], | |
[ | |
" └ UpdatedAt", | |
"2016-04-19T16:11:01Z" | |
] | |
], | |
"Plugins": { | |
"Volume": null, | |
"Network": null, | |
"Authorization": null | |
}, | |
"MemoryLimit": true, | |
"SwapLimit": true, | |
"CpuCfsPeriod": true, | |
"CpuCfsQuota": true, | |
"CPUShares": true, | |
"CPUSet": true, | |
"IPv4Forwarding": true, | |
"BridgeNfIptables": true, | |
"BridgeNfIp6tables": true, | |
"Debug": false, | |
"NFd": 0, | |
"OomKillDisable": true, | |
"NGoroutines": 0, | |
"SystemTime": "2016-04-19T16:11:07.243601242Z", | |
"ExecutionDriver": "", | |
"LoggingDriver": "", | |
"NEventsListener": 0, | |
"KernelVersion": "3.18.21-2-rackos", | |
"OperatingSystem": "linux", | |
"OSType": "", | |
"Architecture": "amd64", | |
"IndexServerAddress": "", | |
"RegistryConfig": null, | |
"NCPU": 24, | |
"MemTotal": 9019431320, | |
"DockerRootDir": "", | |
"HttpProxy": "", | |
"HttpsProxy": "", | |
"NoProxy": "", | |
"Name": "a01dc85a-4780-4336-a6b7-95c55bacf523-n1", | |
"Labels": null, | |
"ExperimentalBuild": false, | |
"ServerVersion": "swarm/1.1.3", | |
"ClusterStore": "", | |
"ClusterAdvertise": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment