bfirsh/docker — pull request #4 by nathanleclaire (2014-10-14 05:47:35+00:00)
Title: Create `docker hosts inspect` command

Add a `docker hosts inspect foo` command.

Very useful for debugging / the times I just want to see some property of the instance such as IP Address.

e.g.

```sh
{
"DriverName": "ec2",
"Driver": {
"Auth": {
"AccessKey": "ANACCESSKEY",
"SecretKey": "HAYOUDIDNTREALLYTHINKIDPOSTTHISDIDYOU"
},
"Endpoint": "https://ec2.us-west-1.amazonaws.com",
"ImageId": "ami-27939962",
"InstanceId": "i-4c30a686",
"InstanceName": "docker-host-aa451ae9208d5a6df9bda0f8e428bb1c791ca6567346a576ddd82ce3860388a5",
"InstanceType": "t1.micro",
"KeyName": "docker-host-aa451ae9208d5a6df9bda0f8e428bb1c791ca6567346a576ddd82ce3860388a5-key",
"PublicDnsName": "ec2-54-183-203-60.us-west-1.compute.amazonaws.com",
"IPAddress": "54.183.203.60",
"SecurityGroup": "docker-hosts",
"Region": "us-west-1",
"Username": "ubuntu"
}
}
```

Docker-DCO-1.1-Signed-off-by: Nathan LeClaire (github: )