Skip to content

Instantly share code, notes, and snippets.

@congto
Created November 7, 2016 09:40
Show Gist options
  • Save congto/4f943a6245c9f32cd1486aefd3d516f5 to your computer and use it in GitHub Desktop.
Save congto/4f943a6245c9f32cd1486aefd3d516f5 to your computer and use it in GitHub Desktop.
root@u14-vagrant:~# docker inspect 951bfd6d073f
[
{
"Id": "951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22",
"Created": "2016-11-07T04:56:34.159173974Z",
"Path": "/hello",
"Args": [],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "2016-11-07T04:56:34.512214065Z",
"FinishedAt": "2016-11-07T04:56:34.5504585Z"
},
"Image": "sha256:c54a2cc56cbb2f04003c1cd4507e118af7c0d340fe7e2720f70976c4b75237dc",
"ResolvConfPath": "/var/lib/docker/containers/951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22/hostname",
"HostsPath": "/var/lib/docker/containers/951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22/hosts",
"LogPath": "/var/lib/docker/containers/951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22/951bfd6d073fe7502876d9842ebba76c9e2317bb25a5954b23004230491ecb22-json.log",
"Name": "/naughty_ardinghelli",
"RestartCount": 0,
"Driver": "aufs",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": null,
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"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": "aufs",
"Data": null
},
"Mounts": [],
"Config": {
"Hostname": "951bfd6d073f",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/hello"
],
"Image": "hello-world",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "7c117a7fafc64003e9dc6728773c70fd8745ced899f55563984b2c15d3ee7207",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": null,
"SandboxKey": "/var/run/docker/netns/7c117a7fafc6",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "e01da1a88fd7a0da5635afab515c79350de64933d7565c90a3b808bba9d6381d",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": ""
}
}
}
}
]
root@u14-vagrant:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment