Skip to content

Instantly share code, notes, and snippets.

@ngsmrk
Created April 18, 2014 21:59
Show Gist options
  • Save ngsmrk/11066268 to your computer and use it in GitHub Desktop.
Save ngsmrk/11066268 to your computer and use it in GitHub Desktop.
docker inspect
docker inspect 9dc78f548c4d
[{
"ID": "4131176604f460b8c346b60da84a62138228cd79c2150e55eca0fca197b376ec",
"Created": "2014-04-15T14:54:42.69142738Z",
"Path": "/run.sh",
"Args": [],
"Config": {
"Hostname": "4131176604f4",
"Domainname": "",
"User": "",
"Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"PortSpecs": null,
"ExposedPorts": {
"3306/tcp": {},
"80/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"HOME=/",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/run.sh"
],
"Image": "tutum/wordpress",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"OnBuild": null
},
"State": {
"Running": true,
"Pid": 2957,
"ExitCode": 0,
"StartedAt": "2014-04-15T14:54:42.713858923Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Ghost": false
},
"Image": "0c295b6f613e58e6a09e6ac6e37503cbfa04bd2f0c1a83dce9315718feba26a2",
"NetworkSettings": {
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"Gateway": "172.17.42.1",
"Bridge": "docker0",
"PortMapping": null,
"Ports": {
"3306/tcp": null,
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "49155"
}
]
}
},
"ResolvConfPath": "/etc/resolv.conf",
"HostnamePath": "/mnt/sda1/var/lib/docker/containers/4131176604f460b8c346b60da84a62138228cd79c2150e55eca0fca197b376ec/hostname",
"HostsPath": "/mnt/sda1/var/lib/docker/containers/4131176604f460b8c346b60da84a62138228cd79c2150e55eca0fca197b376ec/hosts",
"Name": "/thirsty_bardeen",
"Driver": "aufs",
"ExecDriver": "native-0.1",
"Volumes": {},
"VolumesRW": {},
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": [],
"Privileged": false,
"PortBindings": {
"3306/tcp": null,
"80/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "49155"
}
]
},
"Links": null,
"PublishAllPorts": false,
"Dns": null,
"DnsSearch": null,
"VolumesFrom": null
}
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment