Last active
August 29, 2015 13:57
-
-
Save mattes/9376490 to your computer and use it in GitHub Desktop.
docker inspect result example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -t -i -d ubuntu echo "test" | |
d0f637bfc0350729b07d6a6cd4f03140f6a0951924be86eda28f0fa9954dea23 | |
docker inspect d0f637bfc0350729b07d6a6cd4f03140f6a0951924be86eda28f0fa9954dea23 | |
[{ | |
"ID": "d0f637bfc0350729b07d6a6cd4f03140f6a0951924be86eda28f0fa9954dea23", | |
"Created": "2014-03-05T21:11:35.763549293Z", | |
"Path": "echo", | |
"Args": [ | |
"test" | |
], | |
"Config": { | |
"Hostname": "d0f637bfc035", | |
"Domainname": "", | |
"User": "", | |
"Memory": 0, | |
"MemorySwap": 0, | |
"CpuShares": 0, | |
"AttachStdin": false, | |
"AttachStdout": false, | |
"AttachStderr": false, | |
"PortSpecs": null, | |
"ExposedPorts": null, | |
"Tty": true, | |
"OpenStdin": true, | |
"StdinOnce": false, | |
"Env": [ | |
"HOME=/", | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"Cmd": [ | |
"echo", | |
"test" | |
], | |
"Dns": null, | |
"Image": "ubuntu", | |
"Volumes": null, | |
"VolumesFrom": "", | |
"WorkingDir": "", | |
"Entrypoint": null, | |
"NetworkDisabled": false, | |
"OnBuild": null | |
}, | |
"State": { | |
"Running": false, | |
"Pid": 0, | |
"ExitCode": 0, | |
"StartedAt": "2014-03-05T21:11:36.076680486Z", | |
"FinishedAt": "2014-03-05T21:11:36.255013216Z", | |
"Ghost": false | |
}, | |
"Image": "9cd978db300e27386baa9dd791bf6dc818f13e52235b26e95703361ec3c94dc6", | |
"NetworkSettings": { | |
"IPAddress": "", | |
"IPPrefixLen": 0, | |
"Gateway": "", | |
"Bridge": "", | |
"PortMapping": null, | |
"Ports": null | |
}, | |
"ResolvConfPath": "/etc/resolv.conf", | |
"HostnamePath": "/var/lib/docker/containers/d0f637bfc0350729b07d6a6cd4f03140f6a0951924be86eda28f0fa9954dea23/hostname", | |
"HostsPath": "/var/lib/docker/containers/d0f637bfc0350729b07d6a6cd4f03140f6a0951924be86eda28f0fa9954dea23/hosts", | |
"Name": "/silly_engelbart", | |
"Driver": "aufs", | |
"Volumes": {}, | |
"VolumesRW": {}, | |
"HostConfig": { | |
"Binds": null, | |
"ContainerIDFile": "", | |
"LxcConf": [], | |
"Privileged": false, | |
"PortBindings": {}, | |
"Links": null, | |
"PublishAllPorts": false | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment