-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Milestone
Description
docker inspect --format '{{ .NetworkSettings.IPAddress }}' workload1'
Template parsing error: template: :1:19: executing "" at <.NetworkSettings.IPA...>: IPAddress is not a field of struct type *types.NetworkSettings
"NetworkSettings": {
"Bridge": "",
"SandboxID": "be0dc9c1631d5024164dfab1adb339708efffa141cd71161195f616ae1176d18",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/be0dc9c1631d",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"Networks": {
"calnet": {
"EndpointID": "266aa806f0138f29960982702694c61c11b17563d3a03b9bd8e73ef94b265d04",
"Gateway": "\u003cnil\u003e",
"IPAddress": "10.0.0.2",
"IPPrefixLen": 24,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": ""
}
}
}
$ docker version
Client:
Version: 1.9.0-rc3
API version: 1.21
Go version: go1.4.2
Git commit: 2100b94
Built: Wed Oct 28 01:32:55 UTC 2015
OS/Arch: linux/amd64
Server:
Version: 1.9.0-rc3
API version: 1.21
Go version: go1.4.2
Git commit: 2100b94
Built: Wed Oct 28 01:32:55 UTC 2015
OS/Arch: linux/amd64
$ uname -a
Linux gulfstream 3.19.0-31-generic #36-Ubuntu SMP Wed Oct 7 15:04:02 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ docker info
Containers: 4
Images: 50
Server Version: 1.9.0-rc3
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 58
Dirperm1 Supported: true
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-31-generic
Operating System: Ubuntu 15.04
CPUs: 4
Total Memory: 3.86 GiB
Name: gulfstream
ID: DMI2:W6NH:AFHI:6YWS:PEND:LXD7:3GDL:YK62:4437:EATW:DW2R:AF6X
Debug mode (server): true
File Descriptors: 38
Goroutines: 78
System Time: 2015-10-28T14:41:37.005300886-07:00
EventsListeners: 0
Init SHA1: 5e8a6db3eec2807593ebd7797fb153c6b3c331ef
Init Path: /usr/lib/docker/dockerinit
Docker Root Dir: /var/lib/docker
Username: tomdee
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Cluster store: etcd://127.0.0.1:2379
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels