# python inspect_containers.py
2 containers are running
inspect c47c2e92a7c131b9b9a7220c194018f52138eaca039412cbbb1bd37f0f817053
HostsPath /var/lib/docker/containers/c47c2e92a7c131b9b9a7220c194018f52138eaca039412cbbb1bd37f0f817053/hosts
Created 2014-06-15T14:23:51.429094278Z
Image ad892dd21d607a1458a722598a2e4d93015c4507abcd0ebfc16a43d4d1b41520
Args []
Driver aufs
HostConfig {u'PortBindings': {}, u'Links': None, u'LxcConf': [], u'ContainerIDFile': u'', u'Binds': None, u'PublishAllPorts': False, u'Privileged': False}
VolumesRW {}
State {u'Ghost': False, u'Pid': 6461, u'Running': True, u'FinishedAt': u'0001-01-01T00:00:00Z', u'StartedAt': u'2014-06-15T14:23:51.528104763Z', u'ExitCode': 0}
ExecDriver native-0.1
ResolvConfPath /var/lib/docker/containers/c47c2e92a7c131b9b9a7220c194018f52138eaca039412cbbb1bd37f0f817053/resolv.conf
Volumes {}
Path /bin/bash
HostnamePath /var/lib/docker/containers/c47c2e92a7c131b9b9a7220c194018f52138eaca039412cbbb1bd37f0f817053/hostname
Config {u'Env': [u'HOME=/', u'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'], u'Hostname': u'c47c2e92a7c1', u'Dns': None, u'Entrypoint': None, u'PortSpecs': None, u'Memory': 0, u'OnBuild': None, u'OpenStdin': True, u'User': u'', u'AttachStderr': True, u'AttachStdout': True, u'NetworkDisabled': False, u'StdinOnce': True, u'Cmd': [u'/bin/bash'], u'WorkingDir': u'', u'AttachStdin': True, u'Volumes': None, u'MemorySwap': 0, u'VolumesFrom': u'', u'Tty': True, u'CpuShares': 0, u'Domainname': u'', u'Image': u'ubuntu', u'ExposedPorts': None}
ID c47c2e92a7c131b9b9a7220c194018f52138eaca039412cbbb1bd37f0f817053
NetworkSettings {u'Bridge': u'docker0', u'PortMapping': None, u'Gateway': u'172.17.42.1', u'IPPrefixLen': 16, u'IPAddress': u'172.17.0.3', u'Ports': {}}
Name /cranky_albattani
---
inspect cdd38ff9aacfe89a73b4fdef0e4c84679d18d2bff90c49a4d72c7a1f5fdb4112
HostsPath /var/lib/docker/containers/cdd38ff9aacfe89a73b4fdef0e4c84679d18d2bff90c49a4d72c7a1f5fdb4112/hosts
Created 2014-06-15T13:47:11.410060094Z
Image ad892dd21d607a1458a722598a2e4d93015c4507abcd0ebfc16a43d4d1b41520
Args []
Driver aufs
HostConfig {u'PortBindings': {}, u'Links': None, u'LxcConf': [], u'ContainerIDFile': u'', u'Binds': None, u'PublishAllPorts': False, u'Privileged': False}
VolumesRW {}
State {u'Ghost': False, u'Pid': 5042, u'Running': True, u'FinishedAt': u'0001-01-01T00:00:00Z', u'StartedAt': u'2014-06-15T13:47:11.719576446Z', u'ExitCode': 0}
ExecDriver native-0.1
ResolvConfPath /var/lib/docker/containers/cdd38ff9aacfe89a73b4fdef0e4c84679d18d2bff90c49a4d72c7a1f5fdb4112/resolv.conf
Volumes {}
Path /bin/bash
HostnamePath /var/lib/docker/containers/cdd38ff9aacfe89a73b4fdef0e4c84679d18d2bff90c49a4d72c7a1f5fdb4112/hostname
Config {u'Env': [u'HOME=/', u'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'], u'Hostname': u'cdd38ff9aacf', u'Dns': None, u'Entrypoint': None, u'PortSpecs': None, u'Memory': 0, u'OnBuild': None, u'OpenStdin': True, u'User': u'', u'AttachStderr': True, u'AttachStdout': True, u'NetworkDisabled': False, u'StdinOnce': True, u'Cmd': [u'/bin/bash'], u'WorkingDir': u'', u'AttachStdin': True, u'Volumes': None, u'MemorySwap': 0, u'VolumesFrom': u'', u'Tty': True, u'CpuShares': 0, u'Domainname': u'', u'Image': u'ubuntu', u'ExposedPorts': None}
ID cdd38ff9aacfe89a73b4fdef0e4c84679d18d2bff90c49a4d72c7a1f5fdb4112
NetworkSettings {u'Bridge': u'docker0', u'PortMapping': None, u'Gateway': u'172.17.42.1', u'IPPrefixLen': 16, u'IPAddress': u'172.17.0.2', u'Ports': {}}
Name /trusting_pasteur
---
|