Created
June 12, 2017 07:06
-
-
Save aaron-prindle/be2f0f208062802d93b7840c979d0540 to your computer and use it in GitHub Desktop.
docker inspect <nginx-container>
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
| aprindle@devshell-vm-3132025a-1c90-4348-9e65-10113426cb75:~$ docker inspect da028d012c6d | |
| [ | |
| { | |
| "Id": "da028d012c6d297a8941a03622d2b11d081d197b1740b82a2c953ab7eec1282a", | |
| "Created": "2017-06-12T07:02:30.813591917Z", | |
| "Path": "/pause", | |
| "Args": [], | |
| "State": { | |
| "Status": "exited", | |
| "Running": false, | |
| "Paused": false, | |
| "Restarting": false, | |
| "OOMKilled": false, | |
| "Dead": false, | |
| "Pid": 0, | |
| "ExitCode": 0, | |
| "Error": "", | |
| "StartedAt": "2017-06-12T07:02:31.081182451Z", | |
| "FinishedAt": "2017-06-12T07:02:31.920001301Z" | |
| }, | |
| "Image": "sha256:99e59f495ffaa222bfeb67580213e8c28c1e885f1d245ab2bbe3b1b1ec3bd0b2", | |
| "ResolvConfPath": "/var/lib/docker/containers/da028d012c6d297a8941a03622d2b11d081d197b1740b82a2c953a | |
| b7eec1282a/resolv.conf", | |
| "HostnamePath": "/var/lib/docker/containers/da028d012c6d297a8941a03622d2b11d081d197b1740b82a2c953ab7 | |
| eec1282a/hostname", | |
| "HostsPath": "/var/lib/docker/containers/da028d012c6d297a8941a03622d2b11d081d197b1740b82a2c953ab7eec | |
| 1282a/hosts", | |
| "LogPath": "/var/lib/docker/containers/da028d012c6d297a8941a03622d2b11d081d197b1740b82a2c953ab7eec12 | |
| 82a/da028d012c6d297a8941a03622d2b11d081d197b1740b82a2c953ab7eec1282a-json.log", | |
| "Name": "/k8s_POD_my-nginx-858393261-9tgtp_default_f6689b66-4f3a-11e7-bbec-42010af00010_366", | |
| "RestartCount": 0, | |
| "Driver": "aufs", | |
| "MountLabel": "", | |
| "ProcessLabel": "", | |
| "AppArmorProfile": "", | |
| "ExecIDs": null, | |
| "HostConfig": { | |
| "Binds": null, | |
| "ContainerIDFile": "", | |
| "LogConfig": { | |
| "Type": "json-file", | |
| "Config": {} | |
| }, | |
| "NetworkMode": "default", | |
| "PortBindings": {}, | |
| "RestartPolicy": { | |
| "Name": "", | |
| "MaximumRetryCount": 0 | |
| }, | |
| "AutoRemove": false, | |
| "VolumeDriver": "", | |
| "VolumesFrom": null, | |
| "CapAdd": null, | |
| "CapDrop": null, | |
| "Dns": null, | |
| "DnsOptions": null, | |
| "DnsSearch": null, | |
| "ExtraHosts": null, | |
| "GroupAdd": null, | |
| "IpcMode": "", | |
| "Cgroup": "", | |
| "Links": null, | |
| "OomScoreAdj": -998, | |
| "PidMode": "", | |
| "Privileged": false, | |
| "PublishAllPorts": false, | |
| "ReadonlyRootfs": false, | |
| "SecurityOpt": [ | |
| "seccomp=unconfined" | |
| ], | |
| "StorageOpt": null, | |
| "UTSMode": "", | |
| "UsernsMode": "", | |
| "ShmSize": 67108864, | |
| "ConsoleSize": [ | |
| 0, | |
| 0 | |
| ], | |
| "Isolation": "", | |
| "CpuShares": 2, | |
| "Memory": 0, | |
| "CgroupParent": "/kubepods/besteffort/podf6689b66-4f3a-11e7-bbec-42010af00010", | |
| "BlkioWeight": 0, | |
| "BlkioWeightDevice": null, | |
| "BlkioDeviceReadBps": null, | |
| "BlkioDeviceWriteBps": null, | |
| "BlkioDeviceReadIOps": null, | |
| "BlkioDeviceWriteIOps": null, | |
| "CpuPeriod": 0, | |
| "CpuQuota": 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, | |
| "BlkioIOps": 0, | |
| "BlkioBps": 0, | |
| "SandboxSize": 0 | |
| }, | |
| "GraphDriver": { | |
| "Name": "aufs", | |
| "Data": null | |
| }, | |
| "Mounts": [], | |
| "Config": { | |
| "Hostname": "my-nginx-858393261-9tgtp", | |
| "Domainname": "", | |
| "User": "", | |
| "AttachStdin": false, | |
| "AttachStdout": false, | |
| "AttachStderr": false, | |
| "Tty": false, | |
| "OpenStdin": false, | |
| "StdinOnce": false, | |
| "Env": null, | |
| "Cmd": null, | |
| "Image": "gcr.io/google_containers/pause-amd64:3.0", | |
| "Volumes": null, | |
| "WorkingDir": "", | |
| "Entrypoint": [ | |
| "/pause" | |
| ], | |
| "OnBuild": null, | |
| "Labels": { | |
| "annotation.kubernetes.io/config.seen": "2017-06-12T06:47:11.905451283Z", | |
| "annotation.kubernetes.io/config.source": "api", | |
| "annotation.kubernetes.io/created-by": "{\"kind\":\"SerializedReference\",\"apiVersion\":\"v | |
| 1\",\"reference\":{\"kind\":\"ReplicaSet\",\"namespace\":\"default\",\"name\":\"my-nginx-858393261\",\"uid\" | |
| :\"f666d45f-4f3a-11e7-bbec-42010af00010\",\"apiVersion\":\"extensions\",\"resourceVersion\":\"51\"}}\n", | |
| "io.kubernetes.container.name": "POD", | |
| "io.kubernetes.docker.type": "podsandbox", | |
| "io.kubernetes.pod.name": "my-nginx-858393261-9tgtp", | |
| "io.kubernetes.pod.namespace": "default", | |
| "io.kubernetes.pod.uid": "f6689b66-4f3a-11e7-bbec-42010af00010", | |
| "pod-template-hash": "858393261", | |
| "run": "my-nginx" | |
| } | |
| }, | |
| "NetworkSettings": { | |
| "Bridge": "", | |
| "SandboxID": "3a54475d97b2b2ca5729c1cea6337032568519378d4d8344f596b7f27512dee4", | |
| "HairpinMode": false, | |
| "LinkLocalIPv6Address": "", | |
| "LinkLocalIPv6PrefixLen": 0, | |
| "Ports": null, | |
| "SandboxKey": "/var/run/docker/netns/3a54475d97b2", | |
| "SecondaryIPAddresses": null, | |
| "SecondaryIPv6Addresses": null, | |
| "EndpointID": "", | |
| "Gateway": "", | |
| "GlobalIPv6Address": "", | |
| "GlobalIPv6PrefixLen": 0, | |
| "IPAddress": "", | |
| "IPPrefixLen": 0, | |
| "IPv6Gateway": "", | |
| "MacAddress": "", | |
| "Networks": { | |
| "bridge": { | |
| "IPAMConfig": null, | |
| "Links": null, | |
| "Aliases": null, | |
| "NetworkID": "b9a479f4bd093786052ec906517c330c4d3b74c91f3597faa4ca0e067b30de55", | |
| "EndpointID": "", | |
| "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