Created
February 28, 2017 21:13
-
-
Save soltysh/95c1b00781767fa8a93dc8549b972daa to your computer and use it in GitHub Desktop.
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 k8s_hello.33998893_hello-1-th5k1_test_7482c950-fdfa-11e6-8868-525400f25e34_5fc883b7 | |
[ | |
{ | |
"Id": "5398f7a71f4abc0be9734e8d0f40881076745380034fc457b80740451f5b4504", | |
"Created": "2017-02-28T21:11:25.791328537Z", | |
"Path": "/hello-openshift", | |
"Args": [], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 6480, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2017-02-28T21:11:26.72162107Z", | |
"FinishedAt": "0001-01-01T00:00:00Z" | |
}, | |
"Image": "sha256:bfb70e2284d2bd4c93e6194e0dfd044bcd29ab7cd7473ae38363eaef61a475a5", | |
"ResolvConfPath": "/var/lib/docker/containers/0d8dc9baba089178a9f695cd7bc1dc41603abde8a82e2a07d7e9916f6ace525b/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/0d8dc9baba089178a9f695cd7bc1dc41603abde8a82e2a07d7e9916f6ace525b/hostname", | |
"HostsPath": "/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/etc-hosts", | |
"LogPath": "", | |
"Name": "/k8s_hello.33998893_hello-1-th5k1_test_7482c950-fdfa-11e6-8868-525400f25e34_5fc883b7", | |
"RestartCount": 0, | |
"Driver": "devicemapper", | |
"MountLabel": "system_u:object_r:container_file_t:s0:c6,c5", | |
"ProcessLabel": "system_u:system_r:container_t:s0:c6,c5", | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": [ | |
"/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/volumes/kubernetes.io~secret/default-token-hs8ft:/var/run/secrets/kubernetes.io/serviceaccount:ro,Z", | |
"/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/etc-hosts:/etc/hosts:Z", | |
"/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/containers/hello/5fc883b7:/dev/termination-log:Z" | |
], | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "journald", | |
"Config": {} | |
}, | |
"NetworkMode": "container:0d8dc9baba089178a9f695cd7bc1dc41603abde8a82e2a07d7e9916f6ace525b", | |
"PortBindings": null, | |
"RestartPolicy": { | |
"Name": "", | |
"MaximumRetryCount": 0 | |
}, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": [ | |
"KILL", | |
"MKNOD", | |
"SETGID", | |
"SETUID", | |
"SYS_CHROOT" | |
], | |
"Dns": null, | |
"DnsOptions": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"GroupAdd": [ | |
"1000040000" | |
], | |
"IpcMode": "container:0d8dc9baba089178a9f695cd7bc1dc41603abde8a82e2a07d7e9916f6ace525b", | |
"Links": null, | |
"OomScoreAdj": 1000, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": [ | |
"seccomp:unconfined", | |
"label:level:s0:c6,c5" | |
], | |
"UTSMode": "", | |
"ShmSize": 67108864, | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 2, | |
"CgroupParent": "", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": [], | |
"KernelMemory": 0, | |
"Memory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": -1, | |
"MemorySwappiness": -1, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null | |
}, | |
"GraphDriver": { | |
"Name": "devicemapper", | |
"Data": { | |
"DeviceId": "15358", | |
"DeviceName": "docker-253:1-1569815-700daa909f32d6695e6af1957bc35d0986de98ec8082ad8c5c70e67166375e69", | |
"DeviceSize": "10737418240" | |
} | |
}, | |
"Mounts": [ | |
{ | |
"Source": "/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/volumes/kubernetes.io~secret/default-token-hs8ft", | |
"Destination": "/var/run/secrets/kubernetes.io/serviceaccount", | |
"Mode": "ro,Z", | |
"RW": false, | |
"Propagation": "rslave" | |
}, | |
{ | |
"Source": "/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/etc-hosts", | |
"Destination": "/etc/hosts", | |
"Mode": "Z", | |
"RW": true, | |
"Propagation": "rslave" | |
}, | |
{ | |
"Source": "/home/vagrant/openshift.local.volumes/pods/7482c950-fdfa-11e6-8868-525400f25e34/containers/hello/5fc883b7", | |
"Destination": "/dev/termination-log", | |
"Mode": "Z", | |
"RW": true, | |
"Propagation": "rslave" | |
} | |
], | |
"Config": { | |
"Hostname": "hello-1-th5k1", | |
"Domainname": "", | |
"User": "1000040000", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"ExposedPorts": { | |
"8080/tcp": {}, | |
"8888/tcp": {} | |
}, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"KUBERNETES_PORT=tcp://172.30.0.1:443", | |
"KUBERNETES_PORT_443_TCP_PROTO=tcp", | |
"KUBERNETES_PORT_53_UDP_PROTO=udp", | |
"KUBERNETES_PORT_53_TCP_PORT=53", | |
"KUBERNETES_SERVICE_HOST=172.30.0.1", | |
"KUBERNETES_SERVICE_PORT_DNS_TCP=53", | |
"KUBERNETES_SERVICE_PORT=443", | |
"KUBERNETES_SERVICE_PORT_HTTPS=443", | |
"KUBERNETES_PORT_443_TCP=tcp://172.30.0.1:443", | |
"KUBERNETES_PORT_443_TCP_PORT=443", | |
"KUBERNETES_PORT_443_TCP_ADDR=172.30.0.1", | |
"KUBERNETES_PORT_53_UDP=udp://172.30.0.1:53", | |
"KUBERNETES_PORT_53_UDP_PORT=53", | |
"KUBERNETES_PORT_53_TCP=tcp://172.30.0.1:53", | |
"KUBERNETES_SERVICE_PORT_DNS=53", | |
"KUBERNETES_PORT_53_UDP_ADDR=172.30.0.1", | |
"KUBERNETES_PORT_53_TCP_PROTO=tcp", | |
"KUBERNETES_PORT_53_TCP_ADDR=172.30.0.1", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"Cmd": null, | |
"Image": "openshift/hello-openshift", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"/hello-openshift" | |
], | |
"OnBuild": null, | |
"Labels": { | |
"io.kubernetes.container.hash": "33998893", | |
"io.kubernetes.container.name": "hello", | |
"io.kubernetes.container.restartCount": "0", | |
"io.kubernetes.container.terminationMessagePath": "/dev/termination-log", | |
"io.kubernetes.pod.name": "hello-1-th5k1", | |
"io.kubernetes.pod.namespace": "test", | |
"io.kubernetes.pod.terminationGracePeriod": "30", | |
"io.kubernetes.pod.uid": "7482c950-fdfa-11e6-8868-525400f25e34" | |
} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": null, | |
"SandboxKey": "", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"MacAddress": "", | |
"Networks": null | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment