$ docker run --rm --net=host --privileged -it dockerswarm/dind-master:latest docker -H 127.0.0.1:2375 inspect --format='{{ .Node.IP }}' 3b8f33bec460
FATA[0000] template: :1:8: executing "" at <.Node.IP>: Node is not a field of struct type types.ContainerJSON
docker version:
Client version: 1.7.0-dev
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 77183ed
127.0.0.1:2375
is a Swarm manager.With a docker 1.6.0 CLI:
With a docker 1.7.0-dev (master) CLI:
docker version: