{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/docker/issues/17164","labels_url":"https://api.github.com/repos/docker/docker/issues/17164/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/17164/comments","events_url":"https://api.github.com/repos/docker/docker/issues/17164/events","html_url":"https://github.com/docker/docker/issues/17164","id":112075076,"number":17164,"title":"Change Cgroups when container is runing","user":{"login":"leejansq","id":10227899,"avatar_url":"https://avatars.githubusercontent.com/u/10227899?v=3","gravatar_id":"","url":"https://api.github.com/users/leejansq","html_url":"https://github.com/leejansq","followers_url":"https://api.github.com/users/leejansq/followers","following_url":"https://api.github.com/users/leejansq/following{/other_user}","gists_url":"https://api.github.com/users/leejansq/gists{/gist_id}","starred_url":"https://api.github.com/users/leejansq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leejansq/subscriptions","organizations_url":"https://api.github.com/users/leejansq/orgs","repos_url":"https://api.github.com/users/leejansq/repos","events_url":"https://api.github.com/users/leejansq/events{/privacy}","received_events_url":"https://api.github.com/users/leejansq/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-19T05:34:02Z","updated_at":"2015-10-19T05:34:02Z","closed_at":null,"body":"\r\ndocker version:\r\n    Version:      1.9.0-dev\r\n    API version:  1.21\r\n    Go version:   go1.5\r\n    OS/Arch:      linux/amd64\r\ndocker info:\r\n     Storage Driver: devicemapper\r\n     Pool Name: docker-253:1-2491450-pool\r\n     Execution Driver: native-0.2\r\n     Kernel Version: 4.1.8-200.fc22.x86_64\r\n\r\nuname -a:\r\n     Linux localhost.localdomain 4.1.8-200.fc22.x86_64 #1 SMP Tue Sep 22 12:13:21 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nI need to change cgroups when container is running;\r\n\r\nSo,I modify the docker source code! Append new API that call the method  of libcontainer.Container and change the hostconfig of container to Avoid the Question \r\n\r\nBut,I think this is not a good way;I hope to get the offical soluttions,or You can take my advice.\r\n"}}