{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/34278051","id":34278051,"diff_hunk":"@@ -208,6 +209,7 @@ Json Parameters:\n -   **CpusetCpus** - String value containing the `cgroups CpusetCpus` to use.\n -   **CpusetMems** - Memory nodes (MEMs) in which to allow execution (0-3, 0,1). Only effective on NUMA systems.\n -   **BlkioWeight** - Block IO weight (relative weight) accepts a weight value between 10 and 1000.\n+-   **MemorySwappiness** - Integer Value, Tuning Container memory swappiness. Accepts value between 0 and 100.","path":"docs/reference/api/docker_remote_api_v1.20.md","position":12,"original_position":12,"commit_id":"02cb6bec421716f2af54fe44bfda16da074d3425","original_commit_id":"02cb6bec421716f2af54fe44bfda16da074d3425","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":"@estesp Thanks for comments\r\n1. changed to: Integer value, tuning container's memory swappiness\r\n2. regarding Accepts values between 0 and 100: how about changing to\r\nAccepts a value between 0 and 100, since we should be specifying only one value in that range at any point of time.\r\n","created_at":"2015-07-09T17:08:36Z","updated_at":"2015-07-09T17:08:36Z","html_url":"https://github.com/docker/docker/pull/14004#discussion_r34278051","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/14004","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/34278051"},"html":{"href":"https://github.com/docker/docker/pull/14004#discussion_r34278051"},"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-07-09T17:08:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ad3d69169e1309ae0c03aa4419dffaef9ff65f1","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/02cb6bec421716f2af54fe44bfda16da074d3425","head":{"label":"ktraghavendra:13938_container_swappiness","ref":"13938_container_swappiness","sha":"02cb6bec421716f2af54fe44bfda16da074d3425","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-07-09T06:32:40Z","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":59240,"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":"ca3e4ccb809dc283c91deb304876a211eb546265","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-07-09T16:44:47Z","pushed_at":"2015-07-09T17:06:58Z","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":220848,"stargazers_count":23124,"watchers_count":23124,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5689,"mirror_url":null,"open_issues_count":1099,"forks":5689,"open_issues":1099,"watchers":23124,"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/02cb6bec421716f2af54fe44bfda16da074d3425"}}}}