Skip to content

Instantly share code, notes, and snippets.

@fcoelho
Created April 9, 2014 08:06
Show Gist options
  • Save fcoelho/10239257 to your computer and use it in GitHub Desktop.
Save fcoelho/10239257 to your computer and use it in GitHub Desktop.
Output from docker inspect
[{
"ID": "6ba33b422ad4c52308c4188df10663188010fcf8191fbe30842d880339f5389a",
"Created": "2014-04-09T07:03:54.466926704Z",
"Path": "/bin/sh",
"Args": [
"-c",
"/bin/sh"
],
"Config": {
"Hostname": "6ba33b422ad4",
"Domainname": "",
"User": "",
"Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"PortSpecs": null,
"ExposedPorts": null,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"HOME=/",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/sh",
"-c",
"/bin/sh"
],
"Dns": null,
"Image": "busybox",
"Volumes": null,
"VolumesFrom": "[]",
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"OnBuild": null
},
"State": {
"Running": false,
"Pid": 0,
"ExitCode": 0,
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Ghost": false
},
"Image": "769b9341d937a3dba9e460f664b4f183a6cecdd62b337220a28b3deb50ee0a02",
"NetworkSettings": {
"IPAddress": "",
"IPPrefixLen": 0,
"Gateway": "",
"Bridge": "",
"PortMapping": null,
"Ports": null
},
"ResolvConfPath": "/etc/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/6ba33b422ad4c52308c4188df10663188010fcf8191fbe30842d880339f5389a/hostname",
"HostsPath": "/var/lib/docker/containers/6ba33b422ad4c52308c4188df10663188010fcf8191fbe30842d880339f5389a/hosts",
"Name": "/nostalgic_hawking",
"Driver": "devicemapper",
"ExecDriver": "native-0.1",
"Volumes": {},
"VolumesRW": {},
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": null,
"Privileged": false,
"PortBindings": null,
"Links": null,
"PublishAllPorts": false
}
}]
[{
"ID": "ee7158e41fd69e76a34e25544e2bc5cc343dd4ddda4de82ad64118365092768a",
"Created": "2014-04-09T07:06:47.411026981Z",
"Path": "/bin/sh",
"Args": [
"-c",
"/bin/sh"
],
"Config": {
"Hostname": "ee7158e41fd6",
"Domainname": "",
"User": "",
"Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"PortSpecs": null,
"ExposedPorts": null,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"HOME=/",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/bin/sh",
"-c",
"/bin/sh"
],
"Dns": null,
"Image": "busybox",
"Volumes": null,
"VolumesFrom": "",
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"OnBuild": null
},
"State": {
"Running": false,
"Pid": 0,
"ExitCode": 0,
"StartedAt": "0001-01-01T00:00:00Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Ghost": false
},
"Image": "769b9341d937a3dba9e460f664b4f183a6cecdd62b337220a28b3deb50ee0a02",
"NetworkSettings": {
"IPAddress": "",
"IPPrefixLen": 0,
"Gateway": "",
"Bridge": "",
"PortMapping": null,
"Ports": null
},
"ResolvConfPath": "/etc/resolv.conf",
"HostnamePath": "",
"HostsPath": "",
"Name": "/trusting_mclean",
"Driver": "devicemapper",
"ExecDriver": "native-0.1",
"Volumes": null,
"VolumesRW": null,
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": null,
"Privileged": false,
"PortBindings": null,
"Links": null,
"PublishAllPorts": false
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment