{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/14281","labels_url":"https://api.github.com/repos/docker/docker/issues/14281/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/14281/comments","events_url":"https://api.github.com/repos/docker/docker/issues/14281/events","html_url":"https://github.com/docker/docker/issues/14281","id":92055199,"number":14281,"title":"Docker 1.7 breaking API change Host -> HostConfig","user":{"login":"tnolet","id":3802923,"avatar_url":"https://avatars.githubusercontent.com/u/3802923?v=3","gravatar_id":"","url":"https://api.github.com/users/tnolet","html_url":"https://github.com/tnolet","followers_url":"https://api.github.com/users/tnolet/followers","following_url":"https://api.github.com/users/tnolet/following{/other_user}","gists_url":"https://api.github.com/users/tnolet/gists{/gist_id}","starred_url":"https://api.github.com/users/tnolet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tnolet/subscriptions","organizations_url":"https://api.github.com/users/tnolet/orgs","repos_url":"https://api.github.com/users/tnolet/repos","events_url":"https://api.github.com/users/tnolet/events{/privacy}","received_events_url":"https://api.github.com/users/tnolet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-30T10:30:02Z","updated_at":"2015-06-30T10:45:54Z","closed_at":"2015-06-30T10:45:54Z","body":"Hi,\r\n\r\nDescription of problem:\r\n\r\nwe noticed our application started throwing errors because some options in the `docker inspect` output were moved from the `Config` object to the `HostConfig` object, `CpusSet` and `CpuShare` for example.\r\nI can imagine  A LOT of Docker users have applications that use some form of static typing to talk to the Docker daemon. This will now break in many cases.\r\n\r\nThis is a major concern as we have noticed these types of breaking changes from 1.5 -> 1.6 and now to 1.7.\r\n\r\n`docker version`: \r\n```\r\nClient version: 1.7.0\r\nClient API version: 1.19\r\nGo version (client): go1.4.2\r\nGit commit (client): 0baf609\r\nOS/Arch (client): linux/amd64\r\nServer version: 1.7.0\r\nServer API version: 1.19\r\nGo version (server): go1.4.2\r\nGit commit (server): 0baf609\r\nOS/Arch (server): linux/amd64\r\n```\r\n\r\n`docker info`:\r\n```\r\nContainers: 1\r\nImages: 7\r\nStorage Driver: devicemapper\r\n Pool Name: docker-8:1-34206275-pool\r\n Pool Blocksize: 65.54 kB\r\n Backing Filesystem: xfs\r\n Data file: /dev/loop0\r\n Metadata file: /dev/loop1\r\n Data Space Used: 321.5 MB\r\n Data Space Total: 107.4 GB\r\n Data Space Available: 9.121 GB\r\n Metadata Space Used: 938 kB\r\n Metadata Space Total: 2.147 GB\r\n Metadata Space Available: 2.147 GB\r\n Udev Sync Supported: true\r\n Deferred Removal Enabled: false\r\n Data loop file: /var/lib/docker/devicemapper/devicemapper/data\r\n Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata\r\n Library Version: 1.02.93-RHEL7 (2015-01-28)\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 3.10.0-229.4.2.el7.x86_64\r\nOperating System: CentOS Linux 7 (Core)\r\nCPUs: 1\r\nTotal Memory: 3.614 GiB\r\nName: instance-1\r\nID: JCTD:QNL3:KXDV:PM7K:IWWW:TPLU:OKRG:UZZG:K3JH:43O5:VXYQ:2MWN\r\n```\r\n\r\n`uname -a`:\r\n```\r\nLinux instance-1 3.10.0-229.4.2.el7.x86_64 #1 SMP Wed May 13 10:06:09 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n```\r\n\r\nEnvironment details (AWS, VirtualBox, physical, etc.): GCE Virtual machine.\r\n\r\n\r\nHow reproducible:\r\n\r\nRun any container and then do a `docker inspect` with Docker 1.7. Compare the output to exactly the same procedure running Docker 1.6.x\r\n\r\nActual Results:\r\n\r\nThe output from Docker inspect now lists the `CpuSet`, `CpuShares` and other fields under the 'HostConfig` Map. See the shortened output.\r\n\r\n```json\r\n        \"HostConfig\": {\r\n            \"Binds\": null,\r\n            \"ContainerIDFile\": \"\",\r\n            \"LxcConf\": [],\r\n            \"Memory\": 0,\r\n            \"MemorySwap\": 0,\r\n            \"CpuShares\": 0,\r\n            \"CpuPeriod\": 0\r\n         }\r\n```\r\n"}}