Skip to content

Instantly share code, notes, and snippets.

@jamtur01
Created April 10, 2014 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamtur01/10341979 to your computer and use it in GitHub Desktop.
Save jamtur01/10341979 to your computer and use it in GitHub Desktop.
root@docker:~# docker run -d ubuntu:12.04 /bin/bash
274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb
root@docker:~# docker inspect 274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb
[{
"ID": "274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb",
"Created": "2014-04-10T04:12:06.923103947Z",
"Path": "/bin/bash",
"Args": [],
"Config": {
"Hostname": "274d8a979ddb",
"Domainname": "",
"User": "",
"Memory": 0,
"MemorySwap": 0,
"CpuShares": 0,
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"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/bash"
],
"Image": "ubuntu:12.04",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"NetworkDisabled": false,
"OnBuild": null
},
"State": {
"Running": false,
"Pid": 0,
"ExitCode": 0,
"StartedAt": "2014-04-10T04:12:06.943786124Z",
"FinishedAt": "2014-04-10T04:12:07.007150007Z",
"Ghost": false
},
"Image": "9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6",
"NetworkSettings": {
"IPAddress": "",
"IPPrefixLen": 0,
"Gateway": "",
"Bridge": "",
"PortMapping": null,
"Ports": null
},
"ResolvConfPath": "/etc/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb/hostname",
"HostsPath": "/var/lib/docker/containers/274d8a979ddba99b82befc2d2ab153c7decd0845c8cc1dee3f4e53e37d2d1eeb/hosts",
"Name": "/cranky_bardeen",
"Driver": "aufs",
"ExecDriver": "native-0.1",
"Volumes": {},
"VolumesRW": {},
"HostConfig": {
"Binds": null,
"ContainerIDFile": "",
"LxcConf": [],
"Privileged": false,
"PortBindings": {},
"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