docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

docker inspect regression with docker master #717

Closed aluzzardi closed 9 years ago

aluzzardi commented 9 years ago

127.0.0.1:2375 is a Swarm manager.

With a docker 1.6.0 CLI:

$ docker run --rm --net=host --privileged -it dockerswarm/dind:1.6.0 docker -H 127.0.0.1:2375 inspect --format='{{ .Node.IP }}' 3b8f33bec460
X.X.X.X

With a docker 1.7.0-dev (master) CLI:

$ 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
aluzzardi commented 9 years ago

@vieux Care to take a look? I can help you with that

vieux commented 9 years ago

I'll take care of it

vieux commented 9 years ago

It was broken by https://github.com/docker/docker/pull/11839