{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/33500403","id":33500403,"diff_hunk":"@@ -59,6 +59,7 @@ func Parse(cmd *flag.FlagSet, args []string) (*Config, *HostConfig, *flag.FlagSe\n \t\tflStdin           = cmd.Bool([]string{\"i\", \"-interactive\"}, false, \"Keep STDIN open even if not attached\")\n \t\tflTty             = cmd.Bool([]string{\"t\", \"-tty\"}, false, \"Allocate a pseudo-TTY\")\n \t\tflOomKillDisable  = cmd.Bool([]string{\"-oom-kill-disable\"}, false, \"Disable OOM Killer\")\n+\t\tflSwappiness      = cmd.Int64([]string{\"-mem-swappiness\"}, 60, \"Tuning container memory swappiness\")\n \t\tflContainerIDFile = cmd.String([]string{\"#cidfile\", \"-cidfile\"}, \"\", \"Write the container ID to the file\")","path":"runconfig/parse.go","position":null,"original_position":5,"commit_id":"bcd884381cba38244666839db31e419089d86d46","original_commit_id":"2dde703f16ad267ec3ee191dcfd8a938755f426a","user":{"login":"ktraghavendra","id":4502572,"avatar_url":"https://avatars.githubusercontent.com/u/4502572?v=3","gravatar_id":"","url":"https://api.github.com/users/ktraghavendra","html_url":"https://github.com/ktraghavendra","followers_url":"https://api.github.com/users/ktraghavendra/followers","following_url":"https://api.github.com/users/ktraghavendra/following{/other_user}","gists_url":"https://api.github.com/users/ktraghavendra/gists{/gist_id}","starred_url":"https://api.github.com/users/ktraghavendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktraghavendra/subscriptions","organizations_url":"https://api.github.com/users/ktraghavendra/orgs","repos_url":"https://api.github.com/users/ktraghavendra/repos","events_url":"https://api.github.com/users/ktraghavendra/events{/privacy}","received_events_url":"https://api.github.com/users/ktraghavendra/received_events","type":"User","site_admin":false},"body":"@LK4D4. Thanks.. done. (to memory-swappiness)","created_at":"2015-06-29T19:12:06Z","updated_at":"2015-06-29T19:12:06Z","html_url":"https://github.com/docker/docker/pull/14004#discussion_r33500403","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/14004","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/33500403"},"html":{"href":"https://github.com/docker/docker/pull/14004#discussion_r33500403"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/14004"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/14004","id":37976956,"html_url":"https://github.com/docker/docker/pull/14004","diff_url":"https://github.com/docker/docker/pull/14004.diff","patch_url":"https://github.com/docker/docker/pull/14004.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/14004","number":14004,"state":"open","locked":false,"title":"Add the memory swappiness tuning option to docker.","user":{"login":"ktraghavendra","id":4502572,"avatar_url":"https://avatars.githubusercontent.com/u/4502572?v=3","gravatar_id":"","url":"https://api.github.com/users/ktraghavendra","html_url":"https://github.com/ktraghavendra","followers_url":"https://api.github.com/users/ktraghavendra/followers","following_url":"https://api.github.com/users/ktraghavendra/following{/other_user}","gists_url":"https://api.github.com/users/ktraghavendra/gists{/gist_id}","starred_url":"https://api.github.com/users/ktraghavendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktraghavendra/subscriptions","organizations_url":"https://api.github.com/users/ktraghavendra/orgs","repos_url":"https://api.github.com/users/ktraghavendra/repos","events_url":"https://api.github.com/users/ktraghavendra/events{/privacy}","received_events_url":"https://api.github.com/users/ktraghavendra/received_events","type":"User","site_admin":false},"body":"Memory swappiness option takes 0-100, and helps to tune swappiness\r\nbehavior per container.\r\n\r\nSigned-off-by: Raghavendra K T <raghavendra.kt@linux.vnet.ibm.com>","created_at":"2015-06-18T07:05:13Z","updated_at":"2015-06-29T19:12:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1fb79fa73afbb65d739e9a33496864022f825e02","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/14004/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/14004/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/14004/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/bcd884381cba38244666839db31e419089d86d46","head":{"label":"ktraghavendra:13938_container_swappiness","ref":"13938_container_swappiness","sha":"bcd884381cba38244666839db31e419089d86d46","user":{"login":"ktraghavendra","id":4502572,"avatar_url":"https://avatars.githubusercontent.com/u/4502572?v=3","gravatar_id":"","url":"https://api.github.com/users/ktraghavendra","html_url":"https://github.com/ktraghavendra","followers_url":"https://api.github.com/users/ktraghavendra/followers","following_url":"https://api.github.com/users/ktraghavendra/following{/other_user}","gists_url":"https://api.github.com/users/ktraghavendra/gists{/gist_id}","starred_url":"https://api.github.com/users/ktraghavendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktraghavendra/subscriptions","organizations_url":"https://api.github.com/users/ktraghavendra/orgs","repos_url":"https://api.github.com/users/ktraghavendra/repos","events_url":"https://api.github.com/users/ktraghavendra/events{/privacy}","received_events_url":"https://api.github.com/users/ktraghavendra/received_events","type":"User","site_admin":false},"repo":{"id":27871101,"name":"docker","full_name":"ktraghavendra/docker","owner":{"login":"ktraghavendra","id":4502572,"avatar_url":"https://avatars.githubusercontent.com/u/4502572?v=3","gravatar_id":"","url":"https://api.github.com/users/ktraghavendra","html_url":"https://github.com/ktraghavendra","followers_url":"https://api.github.com/users/ktraghavendra/followers","following_url":"https://api.github.com/users/ktraghavendra/following{/other_user}","gists_url":"https://api.github.com/users/ktraghavendra/gists{/gist_id}","starred_url":"https://api.github.com/users/ktraghavendra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ktraghavendra/subscriptions","organizations_url":"https://api.github.com/users/ktraghavendra/orgs","repos_url":"https://api.github.com/users/ktraghavendra/repos","events_url":"https://api.github.com/users/ktraghavendra/events{/privacy}","received_events_url":"https://api.github.com/users/ktraghavendra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ktraghavendra/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/ktraghavendra/docker","forks_url":"https://api.github.com/repos/ktraghavendra/docker/forks","keys_url":"https://api.github.com/repos/ktraghavendra/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ktraghavendra/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ktraghavendra/docker/teams","hooks_url":"https://api.github.com/repos/ktraghavendra/docker/hooks","issue_events_url":"https://api.github.com/repos/ktraghavendra/docker/issues/events{/number}","events_url":"https://api.github.com/repos/ktraghavendra/docker/events","assignees_url":"https://api.github.com/repos/ktraghavendra/docker/assignees{/user}","branches_url":"https://api.github.com/repos/ktraghavendra/docker/branches{/branch}","tags_url":"https://api.github.com/repos/ktraghavendra/docker/tags","blobs_url":"https://api.github.com/repos/ktraghavendra/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ktraghavendra/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ktraghavendra/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ktraghavendra/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ktraghavendra/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/ktraghavendra/docker/languages","stargazers_url":"https://api.github.com/repos/ktraghavendra/docker/stargazers","contributors_url":"https://api.github.com/repos/ktraghavendra/docker/contributors","subscribers_url":"https://api.github.com/repos/ktraghavendra/docker/subscribers","subscription_url":"https://api.github.com/repos/ktraghavendra/docker/subscription","commits_url":"https://api.github.com/repos/ktraghavendra/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ktraghavendra/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ktraghavendra/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ktraghavendra/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ktraghavendra/docker/contents/{+path}","compare_url":"https://api.github.com/repos/ktraghavendra/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ktraghavendra/docker/merges","archive_url":"https://api.github.com/repos/ktraghavendra/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ktraghavendra/docker/downloads","issues_url":"https://api.github.com/repos/ktraghavendra/docker/issues{/number}","pulls_url":"https://api.github.com/repos/ktraghavendra/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/ktraghavendra/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/ktraghavendra/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ktraghavendra/docker/labels{/name}","releases_url":"https://api.github.com/repos/ktraghavendra/docker/releases{/id}","created_at":"2014-12-11T12:44:04Z","updated_at":"2015-01-21T11:38:50Z","pushed_at":"2015-06-29T19:02:25Z","git_url":"git://github.com/ktraghavendra/docker.git","ssh_url":"git@github.com:ktraghavendra/docker.git","clone_url":"https://github.com/ktraghavendra/docker.git","svn_url":"https://github.com/ktraghavendra/docker","homepage":"http://www.docker.com","size":58032,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"4fd284bde00f863d4d8b4196e38eb3fb5299805b","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2015-06-29T15:43:54Z","pushed_at":"2015-06-29T19:07:59Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":219281,"stargazers_count":22856,"watchers_count":22856,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5586,"mirror_url":null,"open_issues_count":1112,"forks":5586,"open_issues":1112,"watchers":22856,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/14004"},"html":{"href":"https://github.com/docker/docker/pull/14004"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/14004"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/14004/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/14004/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/14004/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/bcd884381cba38244666839db31e419089d86d46"}}}}