Include container names in `network inspect`

This commit makes `docker network inspect` print container names as
service discovery is based on container name.

Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This commit is contained in:
Zhang Wei 2015-11-03 00:29:58 +08:00
Родитель 55501f76a1
Коммит 25102deac8
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -361,6 +361,7 @@ type NetworkResource struct {
// EndpointResource contains network resources allocated and used for a container in a network
type EndpointResource struct {
Name string
EndpointID string
MacAddress string
IPv4Address string