Skip to content

Instantly share code, notes, and snippets.

@briandant
Last active January 11, 2016 17:15
Show Gist options
  • Save briandant/f9839b52ae65387412b3 to your computer and use it in GitHub Desktop.
Save briandant/f9839b52ae65387412b3 to your computer and use it in GitHub Desktop.
$ docker inspect 373ee30c8d06
[
{
"Id": "373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c",
"Created": "2015-07-15T23:43:22.652405226Z",
"Path": "supervisord",
"Args": [
"-c",
"/etc/supervisor/supervisord.conf"
],
"State": {
"Running": true,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 28068,
"ExitCode": 0,
"Error": "",
"StartedAt": "2015-10-30T20:25:59.784420375Z",
"FinishedAt": "2015-10-30T20:25:45.521154349Z"
},
"Image": "cd7832455c7db5fc20f43a9fb6dc2ae10837c3a07d760fd57b6104e89768c68e",
"NetworkSettings": {
"Bridge": "",
"EndpointID": "ec4d04f80598b846e54aebb2cc9339c8ae038a20cbf935746479582fa1086d0a",
"Gateway": "172.17.42.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"HairpinMode": false,
"IPAddress": "172.17.0.4",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:04",
"NetworkID": "cc9994c9f80eb0842b99a7825f299a9dc93ecec987451ef5da4cc6bd33bb39e7",
"PortMapping": null,
"Ports": {
"3000/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "32771"
}
],
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "32772"
}
]
},
"SandboxKey": "/var/run/docker/netns/373ee30c8d06",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null
},
"ResolvConfPath": "/var/lib/docker/containers/373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c/hostname",
"HostsPath": "/var/lib/docker/containers/373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c/hosts",
"LogPath": "/var/lib/docker/containers/373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c/373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c-json.log",
"Name": "/restored-img-from-tomasz-c9-2",
"RestartCount": 0,
"Driver": "devicemapper",
"ExecDriver": "native-0.2",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "",
"ExecIDs": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": null,
"Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"CpuPeriod": 0,
"CpusetCpus": "",
"CpusetMems": "",
"CpuQuota": 0,
"BlkioWeight": 0,
"OomKillDisable": false,
"MemorySwappiness": null,
"Privileged": false,
"PortBindings": null,
"Links": null,
"PublishAllPorts": true,
"Dns": null,
"DnsSearch": null,
"ExtraHosts": null,
"VolumesFrom": null,
"Devices": null,
"NetworkMode": "bridge",
"IpcMode": "",
"PidMode": "",
"UTSMode": "",
"CapAdd": null,
"CapDrop": null,
"GroupAdd": null,
"RestartPolicy": {
"Name": "always",
"MaximumRetryCount": 0
},
"SecurityOpt": null,
"ReadonlyRootfs": false,
"Ulimits": null,
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"CgroupParent": "",
"ConsoleSize": [
0,
0
]
},
"GraphDriver": {
"Name": "devicemapper",
"Data": {
"DeviceId": "93",
"DeviceName": "docker-8:1-257320-373ee30c8d06d9b03f82212840d491ef1f65eaf8eaf6d4c524426b52d78c7f1c",
"DeviceSize": "21474836480"
}
},
"Mounts": [
{
"Name": "8169247045e0227b253b7a0e6bf6d3a7ca4c1a540328c7370fe17fe70a3aba2d",
"Source": "/var/lib/docker/volumes/8169247045e0227b253b7a0e6bf6d3a7ca4c1a540328c7370fe17fe70a3aba2d/_data",
"Destination": "/etc/supervisor/conf.d",
"Driver": "local",
"Mode": "",
"RW": true
},
{
"Name": "2b6985c90341429fe14193f10339eb51d4b8d9a0043d8844ec671f224f303ebb",
"Source": "/var/lib/docker/volumes/2b6985c90341429fe14193f10339eb51d4b8d9a0043d8844ec671f224f303ebb/_data",
"Destination": "/workspace",
"Driver": "local",
"Mode": "",
"RW": true
}
],
"Config": {
"Hostname": "373ee30c8d06",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"3000/tcp": {},
"80/tcp": {}
},
"PublishService": "",
"Tty": true,
"OpenStdin": true,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"supervisord",
"-c",
"/etc/supervisor/supervisord.conf"
],
"Image": "cd7832455c7db5fc20f43a9fb6dc2ae10837c3a07d760fd57b6104e89768c68e",
"Volumes": {
"/etc/supervisor/conf.d": {},
"/workspace": {}
},
"VolumeDriver": "",
"WorkingDir": "/cloud9",
"Entrypoint": null,
"NetworkDisabled": false,
"MacAddress": "",
"OnBuild": null,
"Labels": null
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment