Created
September 25, 2015 16:49
-
-
Save deanpeterson/1e8b9a71c195d633e3e2 to your computer and use it in GitHub Desktop.
docker inspect
This file contains 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
docker inspect c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55 | |
[ | |
{ | |
"Id": "c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55", | |
"Created": "2015-09-25T02:59:41.063247887Z", | |
"Path": "/pod", | |
"Args": [], | |
"State": { | |
"Running": false, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 0, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2015-09-25T02:59:42.030551634Z", | |
"FinishedAt": "2015-09-25T03:01:51.470415991Z" | |
}, | |
"Image": "47bcd97081ef50177dfc2ac69127ded75fdef41bde0cfe7e1fbe79f2732bb25b", | |
"NetworkSettings": { | |
"Bridge": "", | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"HairpinMode": false, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"MacAddress": "", | |
"NetworkID": "", | |
"PortMapping": null, | |
"Ports": null, | |
"SandboxKey": "", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null | |
}, | |
"ResolvConfPath": "/var/lib/docker/containers/c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55/hostname", | |
"HostsPath": "/var/lib/docker/containers/c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55/hosts", | |
"LogPath": "/var/lib/docker/containers/c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55/c8a4a648e63d5b18dcd8fad6fd2d70f466584f2a749bb4245bb86a6da1ceea55-json.log", | |
"Name": "/k8s_POD.89e9f5dd_tradeservice-3-x9l1e_test_7721ec8b-6331-11e5-acf5-0cc47a6af102_2d65e25e", | |
"RestartCount": 0, | |
"Driver": "devicemapper", | |
"ExecDriver": "native-0.2", | |
"MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c391,c963", | |
"ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c391,c963", | |
"Volumes": {}, | |
"VolumesRW": {}, | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": null, | |
"ContainerIDFile": "", | |
"LxcConf": null, | |
"Memory": 0, | |
"MemorySwap": -1, | |
"CpuShares": 2, | |
"CpuPeriod": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"CpuQuota": 0, | |
"BlkioWeight": 0, | |
"OomKillDisable": false, | |
"Privileged": false, | |
"PortBindings": null, | |
"Links": null, | |
"PublishAllPorts": false, | |
"Dns": [ | |
"23.25.149.225", | |
"75.75.75.75", | |
"75.75.76.76" | |
], | |
"DnsSearch": [ | |
"test.svc.cluster.local", | |
"svc.cluster.local", | |
"cluster.local", | |
"hfc.comcastbusiness.net" | |
], | |
"ExtraHosts": null, | |
"VolumesFrom": null, | |
"Devices": null, | |
"NetworkMode": "bridge", | |
"IpcMode": "", | |
"PidMode": "", | |
"UTSMode": "", | |
"CapAdd": null, | |
"CapDrop": null, | |
"RestartPolicy": { | |
"Name": "", | |
"MaximumRetryCount": 0 | |
}, | |
"SecurityOpt": null, | |
"ReadonlyRootfs": false, | |
"Ulimits": null, | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"CgroupParent": "" | |
}, | |
"Config": { | |
"Hostname": "tradeservice-3-x9l1e", | |
"Domainname": "", | |
"User": "", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"PortSpecs": null, | |
"ExposedPorts": null, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"KUBERNETES_PORT_443_TCP_PORT=443", | |
"TRADESERVICE_PORT_5432_TCP_ADDR=172.30.12.45", | |
"KUBERNETES_SERVICE_HOST=172.30.0.1", | |
"KUBERNETES_PORT=tcp://172.30.0.1:443", | |
"TRADESERVICE_SERVICE_HOST=172.30.12.45", | |
"TRADESERVICE_SERVICE_PORT=5432", | |
"TRADESERVICE_PORT_5432_TCP=tcp://172.30.12.45:5432", | |
"TRADESERVICE_PORT_5432_TCP_PROTO=tcp", | |
"KUBERNETES_PORT_443_TCP=tcp://172.30.0.1:443", | |
"KUBERNETES_PORT_443_TCP_PROTO=tcp", | |
"TRADESERVICE_SERVICE_PORT_WEB=5432", | |
"TRADESERVICE_PORT=tcp://172.30.12.45:5432", | |
"TRADESERVICE_PORT_5432_TCP_PORT=5432", | |
"KUBERNETES_SERVICE_PORT=443", | |
"KUBERNETES_PORT_443_TCP_ADDR=172.30.0.1" | |
], | |
"Cmd": null, | |
"Image": "openshift/origin-pod:v1.0.6", | |
"Volumes": null, | |
"VolumeDriver": "", | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"/pod" | |
], | |
"NetworkDisabled": false, | |
"MacAddress": "", | |
"OnBuild": null, | |
"Labels": { | |
"io.kubernetes.pod.name": "test/tradeservice-3-x9l1e" | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment