{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17026","labels_url":"https://api.github.com/repos/docker/docker/issues/17026/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17026/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17026/events","html_url":"https://github.com/docker/docker/issues/17026","id":111427435,"number":17026,"title":"`docker inspect` issue in 1.9.0-rc1","user":{"login":"awh","id":1504438,"avatar_url":"https://avatars.githubusercontent.com/u/1504438?v=3","gravatar_id":"","url":"https://api.github.com/users/awh","html_url":"https://github.com/awh","followers_url":"https://api.github.com/users/awh/followers","following_url":"https://api.github.com/users/awh/following{/other_user}","gists_url":"https://api.github.com/users/awh/gists{/gist_id}","starred_url":"https://api.github.com/users/awh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awh/subscriptions","organizations_url":"https://api.github.com/users/awh/orgs","repos_url":"https://api.github.com/users/awh/repos","events_url":"https://api.github.com/users/awh/events{/privacy}","received_events_url":"https://api.github.com/users/awh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/41","html_url":"https://github.com/docker/docker/milestones/1.9.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/41/labels","id":1211905,"number":41,"title":"1.9.0","description":"","creator":{"login":"dmp42","id":332946,"avatar_url":"https://avatars.githubusercontent.com/u/332946?v=3","gravatar_id":"","url":"https://api.github.com/users/dmp42","html_url":"https://github.com/dmp42","followers_url":"https://api.github.com/users/dmp42/followers","following_url":"https://api.github.com/users/dmp42/following{/other_user}","gists_url":"https://api.github.com/users/dmp42/gists{/gist_id}","starred_url":"https://api.github.com/users/dmp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmp42/subscriptions","organizations_url":"https://api.github.com/users/dmp42/orgs","repos_url":"https://api.github.com/users/dmp42/repos","events_url":"https://api.github.com/users/dmp42/events{/privacy}","received_events_url":"https://api.github.com/users/dmp42/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":233,"state":"closed","created_at":"2015-07-16T20:50:09Z","updated_at":"2015-11-06T22:13:54Z","due_on":"2015-11-03T05:00:00Z","closed_at":"2015-11-03T20:09:05Z"},"comments":19,"created_at":"2015-10-14T15:47:24Z","updated_at":"2015-11-09T08:57:30Z","closed_at":"2015-10-23T00:06:16Z","body":"````\r\n$ docker version\r\nClient:\r\n Version:      1.9.0-rc1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   9291a0e\r\n Built:        Wed Oct 14 03:07:34 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.9.0-rc1\r\n API version:  1.21\r\n Go version:   go1.4.2\r\n Git commit:   9291a0e\r\n Built:        Wed Oct 14 03:07:34 UTC 2015\r\n OS/Arch:      linux/amd64\r\n$ docker run -tid --name test busybox\r\n56fcd6a8512e880465c84695e8669c17b74332a1ab9dc0369b8ac219e5ed577b\r\n$ docker inspect -f '{{.State.Running}} {{.State.ExitCode}} {{.HostConfig.Dns}}' test\r\ntrue 0 true 0 <no value>\r\n````\r\nNote that the string `true 0 ` is repeated erroneously. Here's the same on 1.8.3:\r\n\r\n````\r\n$ docker version\r\nClient:\r\n Version:      1.8.3\r\n API version:  1.20\r\n Go version:   go1.4.2\r\n Git commit:   f4bf5c7\r\n Built:        Mon Oct 12 05:27:08 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.8.3\r\n API version:  1.20\r\n Go version:   go1.4.2\r\n Git commit:   f4bf5c7\r\n Built:        Mon Oct 12 05:27:08 UTC 2015\r\n OS/Arch:      linux/amd64\r\n$ docker run -tid --name test busybox\r\n$ docker inspect -f '{{.State.Running}} {{.State.ExitCode}} {{.HostConfig.Dns}}' test\r\ntrue 0 []\r\n\r\n````\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/154999982","html_url":"https://github.com/docker/docker/issues/17026#issuecomment-154999982","issue_url":"https://api.github.com/repos/docker/docker/issues/17026","id":154999982,"user":{"login":"wenchma","id":8329027,"avatar_url":"https://avatars.githubusercontent.com/u/8329027?v=3","gravatar_id":"","url":"https://api.github.com/users/wenchma","html_url":"https://github.com/wenchma","followers_url":"https://api.github.com/users/wenchma/followers","following_url":"https://api.github.com/users/wenchma/following{/other_user}","gists_url":"https://api.github.com/users/wenchma/gists{/gist_id}","starred_url":"https://api.github.com/users/wenchma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wenchma/subscriptions","organizations_url":"https://api.github.com/users/wenchma/orgs","repos_url":"https://api.github.com/users/wenchma/repos","events_url":"https://api.github.com/users/wenchma/events{/privacy}","received_events_url":"https://api.github.com/users/wenchma/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T08:57:30Z","updated_at":"2015-11-09T08:57:30Z","body":"but I got the following, is it right ? :question: \r\n\r\n    root@56ad636cf819:/go/src/github.com/docker/docker# docker inspect -f '{{.HostConfig.Dns}}' container1\r\n    Template parsing error: template: :1:13: executing \"\" at <.HostConfig.Dns>: Dns is not a field of struct type *runconfig.HostConfig\r\n    root@56ad636cf819:/go/src/github.com/docker/docker# docker -v\r\n    Docker version 1.10.0-dev, build c920895-dirty\r\n    root@56ad636cf819:/go/src/github.com/docker/docker# go version\r\n    go version go1.5.1 linux/amd64"}}