Created
October 17, 2019 01:29
-
-
Save ryanzhang/2dc92dc4d2cd1300b938d75942c3b667 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
[root@node2 ~]# docker inspect k8s_POD_ruby-ex-1-pk5wt_testcontainerid_03c67fdc-f076-11e9-9e3b-0686b27a1b8b_0 | |
[ | |
{ | |
"Id": "192a811cf79b2d78b7b5a72b8c6bd62506bcdabdc5bc15404c59cebf63b9544d", | |
"Created": "2019-10-17T00:35:27.512623146Z", | |
"Path": "/usr/bin/pod", | |
"Args": [], | |
"State": { | |
"Status": "running", | |
"Running": true, | |
"Paused": false, | |
"Restarting": false, | |
"OOMKilled": false, | |
"Dead": false, | |
"Pid": 33297, | |
"ExitCode": 0, | |
"Error": "", | |
"StartedAt": "2019-10-17T00:35:27.727667925Z", | |
"FinishedAt": "0001-01-01T00:00:00Z" | |
}, | |
"Image": "sha256:47ea091bca336981c8b6854a62349dc42d525488d1a43b8d1121f07194454da9", | |
"ResolvConfPath": "/var/lib/docker/containers/192a811cf79b2d78b7b5a72b8c6bd62506bcdabdc5bc15404c59cebf63b9544d/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/192a811cf79b2d78b7b5a72b8c6bd62506bcdabdc5bc15404c59cebf63b9544d/hostname", | |
"HostsPath": "/var/lib/docker/containers/192a811cf79b2d78b7b5a72b8c6bd62506bcdabdc5bc15404c59cebf63b9544d/hosts", | |
"LogPath": "/var/lib/docker/containers/192a811cf79b2d78b7b5a72b8c6bd62506bcdabdc5bc15404c59cebf63b9544d/192a811cf79b2d78b7b5a72b8c6bd62506bcdabdc5bc15404c59cebf63b9544d-json.log", | |
"Name": "/k8s_POD_ruby-ex-1-pk5wt_testcontainerid_03c67fdc-f076-11e9-9e3b-0686b27a1b8b_0", | |
"RestartCount": 0, | |
"Driver": "overlay2", | |
"MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c10,c5", | |
"ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c10,c5", | |
"AppArmorProfile": "", | |
"ExecIDs": null, | |
"HostConfig": { | |
"Binds": null, | |
"ContainerIDFile": "", | |
"LogConfig": { | |
"Type": "json-file", | |
"Config": {} | |
}, | |
"NetworkMode": "none", | |
"PortBindings": {}, | |
"RestartPolicy": { | |
"Name": "", | |
"MaximumRetryCount": 0 | |
}, | |
"AutoRemove": false, | |
"VolumeDriver": "", | |
"VolumesFrom": null, | |
"CapAdd": null, | |
"CapDrop": null, | |
"Dns": null, | |
"DnsOptions": null, | |
"DnsSearch": null, | |
"ExtraHosts": null, | |
"GroupAdd": [ | |
"1000100000" | |
], | |
"IpcMode": "", | |
"Cgroup": "", | |
"Links": null, | |
"OomScoreAdj": -998, | |
"PidMode": "", | |
"Privileged": false, | |
"PublishAllPorts": false, | |
"ReadonlyRootfs": false, | |
"SecurityOpt": [ | |
"label=level:s0:c10,c5", | |
"seccomp=unconfined" | |
], | |
"UTSMode": "", | |
"UsernsMode": "", | |
"ShmSize": 67108864, | |
"Runtime": "docker-runc", | |
"ConsoleSize": [ | |
0, | |
0 | |
], | |
"Isolation": "", | |
"CpuShares": 2, | |
"Memory": 0, | |
"NanoCpus": 0, | |
"CgroupParent": "kubepods-besteffort-pod03c67fdc_f076_11e9_9e3b_0686b27a1b8b.slice", | |
"BlkioWeight": 0, | |
"BlkioWeightDevice": null, | |
"BlkioDeviceReadBps": null, | |
"BlkioDeviceWriteBps": null, | |
"BlkioDeviceReadIOps": null, | |
"BlkioDeviceWriteIOps": null, | |
"CpuPeriod": 0, | |
"CpuQuota": 0, | |
"CpuRealtimePeriod": 0, | |
"CpuRealtimeRuntime": 0, | |
"CpusetCpus": "", | |
"CpusetMems": "", | |
"Devices": null, | |
"DiskQuota": 0, | |
"KernelMemory": 0, | |
"MemoryReservation": 0, | |
"MemorySwap": 0, | |
"MemorySwappiness": -1, | |
"OomKillDisable": false, | |
"PidsLimit": 0, | |
"Ulimits": null, | |
"CpuCount": 0, | |
"CpuPercent": 0, | |
"IOMaximumIOps": 0, | |
"IOMaximumBandwidth": 0 | |
}, | |
"GraphDriver": { | |
"Name": "overlay2", | |
"Data": { | |
"LowerDir": "/var/lib/docker/overlay2/2f962d8284c8b2023dab25e6de00516443e9d8f71bb06d32c8943f1a621edd7b-init/diff:/var/lib/docker/overlay2/06c1f0d6a62d842a70d09b89b1d3cd2e712980e7560ac7fecf919e82236d098a/diff:/var/lib/docker/overlay2/440e7d690a3e73cb5a2aa380e3c56059ed25da622900244bcef7a3500c75617e/diff:/var/lib/docker/overlay2/14f87aa56165d61c25af0f5a917d9e1e257a5ec4134f943ca43caea180ab8cd8/diff:/var/lib/docker/overlay2/7105ee84d54682bb6960ff00972343a48ebca7902894ec3c142b77a0096244df/diff", | |
"MergedDir": "/var/lib/docker/overlay2/2f962d8284c8b2023dab25e6de00516443e9d8f71bb06d32c8943f1a621edd7b/merged", | |
"UpperDir": "/var/lib/docker/overlay2/2f962d8284c8b2023dab25e6de00516443e9d8f71bb06d32c8943f1a621edd7b/diff", | |
"WorkDir": "/var/lib/docker/overlay2/2f962d8284c8b2023dab25e6de00516443e9d8f71bb06d32c8943f1a621edd7b/work" | |
} | |
}, | |
"Mounts": [], | |
"Config": { | |
"Hostname": "ruby-ex-1-pk5wt", | |
"Domainname": "", | |
"User": "1001", | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"Tty": false, | |
"OpenStdin": false, | |
"StdinOnce": false, | |
"Env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
"container=oci" | |
], | |
"Cmd": null, | |
"ArgsEscaped": true, | |
"Image": "registry.redhat.io/openshift3/ose-pod:v3.11.43", | |
"Volumes": null, | |
"WorkingDir": "", | |
"Entrypoint": [ | |
"/usr/bin/pod" | |
], | |
"OnBuild": null, | |
"Labels": { | |
"License": "GPLv2+", | |
"annotation.kubernetes.io/config.seen": "2019-10-17T00:35:27.18039147Z", | |
"annotation.kubernetes.io/config.source": "api", | |
"annotation.openshift.io/deployment-config.latest-version": "1", | |
"annotation.openshift.io/deployment-config.name": "ruby-ex", | |
"annotation.openshift.io/deployment.name": "ruby-ex-1", | |
"annotation.openshift.io/generated-by": "OpenShiftNewApp", | |
"annotation.openshift.io/scc": "restricted", | |
"app": "ruby-ex", | |
"architecture": "x86_64", | |
"authoritative-source-url": "registry.access.redhat.com", | |
"build-date": "2018-11-11T20:13:30.083481", | |
"com.redhat.build-host": "cpt-0007.osbs.prod.upshift.rdu2.redhat.com", | |
"com.redhat.component": "openshift-enterprise-pod-container", | |
"deployment": "ruby-ex-1", | |
"deploymentconfig": "ruby-ex", | |
"description": "This is a component of OpenShift Container Platform and holds on to the shared Linux namespaces within a Pod.", | |
"distribution-scope": "public", | |
"io.k8s.description": "This is a component of OpenShift Container Platform and holds on to the shared Linux namespaces within a Pod.", | |
"io.k8s.display-name": "OpenShift Container Platform Pod Infrastructure", | |
"io.kubernetes.container.name": "POD", | |
"io.kubernetes.docker.type": "podsandbox", | |
"io.kubernetes.pod.name": "ruby-ex-1-pk5wt", | |
"io.kubernetes.pod.namespace": "testcontainerid", | |
"io.kubernetes.pod.uid": "03c67fdc-f076-11e9-9e3b-0686b27a1b8b", | |
"io.openshift.tags": "openshift,pod", | |
"name": "openshift3/ose-pod", | |
"release": "2", | |
"summary": "Provides the latest release of Red Hat Enterprise Linux 7 in a fully featured and supported base image.", | |
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift3/ose-pod/images/v3.11.43-2", | |
"vcs-ref": "0cf94f596123a2d87fdffc696cbc5c4670b29b38", | |
"vcs-type": "git", | |
"vendor": "Red Hat, Inc.", | |
"version": "v3.11.43" | |
} | |
}, | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "64e7ce2d9bb5689d99d491a1303e4ec9be4f48d9349f8747f213fdf68fd964a8", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": {}, | |
"SandboxKey": "/var/run/docker/netns/64e7ce2d9bb5", | |
"SecondaryIPAddresses": null, | |
"SecondaryIPv6Addresses": null, | |
"EndpointID": "", | |
"Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"MacAddress": "", | |
"Networks": { | |
"none": { | |
"IPAMConfig": null, | |
"Links": null, | |
"Aliases": null, | |
"NetworkID": "e2de98ca370a5ebe9fe9938a70b615e25c470041e5773e1032b15c0ac6d027ba", | |
"EndpointID": "7b2a29a572816c8ee20d789e64480eb28615e3f2ca588146922e5ca990b0ca4d", | |
"Gateway": "", | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"IPv6Gateway": "", | |
"GlobalIPv6Address": "", | |
"GlobalIPv6PrefixLen": 0, | |
"MacAddress": "" | |
} | |
} | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment