{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17070","labels_url":"https://api.github.com/repos/docker/docker/issues/17070/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17070/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17070/events","html_url":"https://github.com/docker/docker/issues/17070","id":111655449,"number":17070,"title":"Getting unicode with string when doing an inspect on a container that uses --net host.","user":{"login":"hekaldama","id":17173,"avatar_url":"https://avatars.githubusercontent.com/u/17173?v=3","gravatar_id":"","url":"https://api.github.com/users/hekaldama","html_url":"https://github.com/hekaldama","followers_url":"https://api.github.com/users/hekaldama/followers","following_url":"https://api.github.com/users/hekaldama/following{/other_user}","gists_url":"https://api.github.com/users/hekaldama/gists{/gist_id}","starred_url":"https://api.github.com/users/hekaldama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hekaldama/subscriptions","organizations_url":"https://api.github.com/users/hekaldama/orgs","repos_url":"https://api.github.com/users/hekaldama/repos","events_url":"https://api.github.com/users/hekaldama/events{/privacy}","received_events_url":"https://api.github.com/users/hekaldama/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-15T16:28:12Z","updated_at":"2015-10-15T16:28:12Z","closed_at":null,"body":"# Description of problem:\r\n\r\nGetting unicode with string when doing an inspect on a container that uses ````--net host````. \r\n\r\n````\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:39:44 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:39:44 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\n\r\nContainers: 8\r\nImages: 1182\r\nStorage Driver: aufs\r\n Root Dir: /var/lib/docker/aufs\r\n Backing Filesystem: extfs\r\n Dirs: 1198\r\n Dirperm1 Supported: true\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.19.0-28-generic\r\nOperating System: Ubuntu 15.04\r\nCPUs: 4\r\nTotal Memory: 11.43 GiB\r\n\r\n\r\nLinux 3.19.0-28-generic #30-Ubuntu SMP Mon Aug 31 15:52:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux \r\n````\r\n\r\n\r\n## Environment details (AWS, VirtualBox, physical, etc.):\r\n\r\nPhysical. \r\n\r\n## How reproducible:\r\n\r\nAlways.\r\n\r\n## Steps to Reproduce:\r\n\r\n```bash\r\ndocker inspect $(docker run -d --net host alpine sh) | grep \\\"Gateway\r\n```\r\nor\r\n```bash\r\ndocker inspect --format={{.NetworkSettings.Gateway}} $(docker run -d --net host alpine sh) \r\n```\r\n## Actual Results:\r\n\r\nSee above steps to reproduce commands.\r\n\r\n## Expected Results:\r\n\r\nWould get the docker host's IP address.\r\n\r\n## Additional info:\r\n"}}