Skip to content

Instantly share code, notes, and snippets.

@bradleyg
Last active August 29, 2015 14:00
Show Gist options
  • Save bradleyg/2332cde83f59e8e67136 to your computer and use it in GitHub Desktop.
Save bradleyg/2332cde83f59e8e67136 to your computer and use it in GitHub Desktop.
docker inspect thesweetshoptv_db_1
[{
"ID": "8b678edcafada191931d3b1f22ec64ca5a07660a3af970a3d74eb1a216773404",
"Created": "2014-05-02T10:55:43.398473089Z",
"Path": "/usr/local/bin/run",
"Args": [],
"Config": {
"Hostname": "8b678edcafad",
"Domainname": "",
"User": "",
"Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"PortSpecs": null,
"ExposedPorts": {
"5432/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"HOME=/",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"/usr/local/bin/run"
],
"Image": "orchardup/postgresql",
"Volumes": {
"/var/lib/postgresql": {}
},
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"OnBuild": null
},
"State": {
"Running": true,
"Pid": 19887,
"ExitCode": 0,
"StartedAt": "2014-05-02T10:55:44.31306306Z",
"FinishedAt": "0001-01-01T00:00:00Z",
"Ghost": false
},
"Image": "d331b4e91c4c06cd2f00774dc0f488b3e35fdfda8dd0560eda044cc72ea381b9",
"NetworkSettings": {
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"Gateway": "172.17.42.1",
"Bridge": "docker0",
"PortMapping": null,
"Ports": {
"5432/tcp": null
}
},
"ResolvConfPath": "/etc/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/8b678edcafada191931d3b1f22ec64ca5a07660a3af970a3d74eb1a216773404/hostname",
"HostsPath": "/var/lib/docker/containers/8b678edcafada191931d3b1f22ec64ca5a07660a3af970a3d74eb1a216773404/hosts",
"Name": "/thesweetshoptv_db_1",
"Driver": "aufs",
"ExecDriver": "native-0.1",
"Volumes": {
"/var/lib/postgresql": "/var/lib/docker/vfs/dir/7088cf3b6e155186057e9a6a9487cbcd408d3561c689b1bb2b3a93deded8a23d"
},
"VolumesRW": {
"/var/lib/postgresql": true
},
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": null,
"Privileged": false,
"PortBindings": null,
"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