{"action":"created","comment":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/57116959","id":57116959,"diff_hunk":"@@ -62,4 +98,19 @@ public void toStringDefaultAccessMode() {\n         assertEquals(Bind.parse(\"/host:/container\").toString(), \"/host:/container:rw\");\n     }\n \n+    @Test\n+    public void toStringReadOnlySEL() {\n+        assertEquals(Bind.parse(\"/host:/container:ro,Z\").toString(), \"/host:/container:ro,Z\");","path":"src/test/java/com/github/dockerjava/api/model/BindTest.java","position":63,"original_position":63,"commit_id":"d2afd3039670e75b56722c96ae69c2907080f66f","original_commit_id":"d2afd3039670e75b56722c96ae69c2907080f66f","user":{"login":"m0nstermind","id":1749284,"avatar_url":"https://avatars.githubusercontent.com/u/1749284?v=3","gravatar_id":"","url":"https://api.github.com/users/m0nstermind","html_url":"https://github.com/m0nstermind","followers_url":"https://api.github.com/users/m0nstermind/followers","following_url":"https://api.github.com/users/m0nstermind/following{/other_user}","gists_url":"https://api.github.com/users/m0nstermind/gists{/gist_id}","starred_url":"https://api.github.com/users/m0nstermind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0nstermind/subscriptions","organizations_url":"https://api.github.com/users/m0nstermind/orgs","repos_url":"https://api.github.com/users/m0nstermind/repos","events_url":"https://api.github.com/users/m0nstermind/events{/privacy}","received_events_url":"https://api.github.com/users/m0nstermind/received_events","type":"User","site_admin":false},"body":"Plz elaborate on techical neccessity of doing so. It looks like pure syntactical change.","created_at":"2016-03-23T07:01:30Z","updated_at":"2016-03-23T07:01:30Z","html_url":"https://github.com/docker-java/docker-java/pull/503#discussion_r57116959","pull_request_url":"https://api.github.com/repos/docker-java/docker-java/pulls/503","_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments/57116959"},"html":{"href":"https://github.com/docker-java/docker-java/pull/503#discussion_r57116959"},"pull_request":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/503"}}},"pull_request":{"url":"https://api.github.com/repos/docker-java/docker-java/pulls/503","id":62926896,"html_url":"https://github.com/docker-java/docker-java/pull/503","diff_url":"https://github.com/docker-java/docker-java/pull/503.diff","patch_url":"https://github.com/docker-java/docker-java/pull/503.patch","issue_url":"https://api.github.com/repos/docker-java/docker-java/issues/503","number":503,"state":"open","locked":false,"title":"Se linux bind","user":{"login":"m0nstermind","id":1749284,"avatar_url":"https://avatars.githubusercontent.com/u/1749284?v=3","gravatar_id":"","url":"https://api.github.com/users/m0nstermind","html_url":"https://github.com/m0nstermind","followers_url":"https://api.github.com/users/m0nstermind/followers","following_url":"https://api.github.com/users/m0nstermind/following{/other_user}","gists_url":"https://api.github.com/users/m0nstermind/gists{/gist_id}","starred_url":"https://api.github.com/users/m0nstermind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0nstermind/subscriptions","organizations_url":"https://api.github.com/users/m0nstermind/orgs","repos_url":"https://api.github.com/users/m0nstermind/repos","events_url":"https://api.github.com/users/m0nstermind/events{/privacy}","received_events_url":"https://api.github.com/users/m0nstermind/received_events","type":"User","site_admin":false},"body":"Project Atomic recently added z and Z flags to volume binding command. Without these no volume binds can be done for /var/* volumes under SE Linux.\r\nThis PR adds ability to pass these flags to docker daemon.\r\n\r\nsee http://www.projectatomic.io/blog/2015/06/using-volumes-with-docker-can-cause-problems-with-selinux/\r\nfor details.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/docker-java/docker-java/503)\n<!-- Reviewable:end -->\n","created_at":"2016-03-15T15:41:16Z","updated_at":"2016-03-23T07:01:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3aa9485c55febd83e60f4744152e54a4c6d3d34b","assignee":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/docker-java/docker-java/milestones/1","html_url":"https://github.com/docker-java/docker-java/milestones/3.0.0","labels_url":"https://api.github.com/repos/docker-java/docker-java/milestones/1/labels","id":1413346,"number":1,"title":"3.0.0","description":"","creator":{"login":"KostyaSha","id":231611,"avatar_url":"https://avatars.githubusercontent.com/u/231611?v=3","gravatar_id":"","url":"https://api.github.com/users/KostyaSha","html_url":"https://github.com/KostyaSha","followers_url":"https://api.github.com/users/KostyaSha/followers","following_url":"https://api.github.com/users/KostyaSha/following{/other_user}","gists_url":"https://api.github.com/users/KostyaSha/gists{/gist_id}","starred_url":"https://api.github.com/users/KostyaSha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KostyaSha/subscriptions","organizations_url":"https://api.github.com/users/KostyaSha/orgs","repos_url":"https://api.github.com/users/KostyaSha/repos","events_url":"https://api.github.com/users/KostyaSha/events{/privacy}","received_events_url":"https://api.github.com/users/KostyaSha/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":53,"state":"open","created_at":"2015-11-16T10:15:47Z","updated_at":"2016-03-20T21:40:13Z","due_on":"2016-02-27T21:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/docker-java/docker-java/pulls/503/commits","review_comments_url":"https://api.github.com/repos/docker-java/docker-java/pulls/503/comments","review_comment_url":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker-java/docker-java/issues/503/comments","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/d2afd3039670e75b56722c96ae69c2907080f66f","head":{"label":"m0nstermind:SELinuxBind","ref":"SELinuxBind","sha":"d2afd3039670e75b56722c96ae69c2907080f66f","user":{"login":"m0nstermind","id":1749284,"avatar_url":"https://avatars.githubusercontent.com/u/1749284?v=3","gravatar_id":"","url":"https://api.github.com/users/m0nstermind","html_url":"https://github.com/m0nstermind","followers_url":"https://api.github.com/users/m0nstermind/followers","following_url":"https://api.github.com/users/m0nstermind/following{/other_user}","gists_url":"https://api.github.com/users/m0nstermind/gists{/gist_id}","starred_url":"https://api.github.com/users/m0nstermind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0nstermind/subscriptions","organizations_url":"https://api.github.com/users/m0nstermind/orgs","repos_url":"https://api.github.com/users/m0nstermind/repos","events_url":"https://api.github.com/users/m0nstermind/events{/privacy}","received_events_url":"https://api.github.com/users/m0nstermind/received_events","type":"User","site_admin":false},"repo":{"id":53953960,"name":"docker-java","full_name":"m0nstermind/docker-java","owner":{"login":"m0nstermind","id":1749284,"avatar_url":"https://avatars.githubusercontent.com/u/1749284?v=3","gravatar_id":"","url":"https://api.github.com/users/m0nstermind","html_url":"https://github.com/m0nstermind","followers_url":"https://api.github.com/users/m0nstermind/followers","following_url":"https://api.github.com/users/m0nstermind/following{/other_user}","gists_url":"https://api.github.com/users/m0nstermind/gists{/gist_id}","starred_url":"https://api.github.com/users/m0nstermind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m0nstermind/subscriptions","organizations_url":"https://api.github.com/users/m0nstermind/orgs","repos_url":"https://api.github.com/users/m0nstermind/repos","events_url":"https://api.github.com/users/m0nstermind/events{/privacy}","received_events_url":"https://api.github.com/users/m0nstermind/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/m0nstermind/docker-java","description":"Java Docker API Client","fork":true,"url":"https://api.github.com/repos/m0nstermind/docker-java","forks_url":"https://api.github.com/repos/m0nstermind/docker-java/forks","keys_url":"https://api.github.com/repos/m0nstermind/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/m0nstermind/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/m0nstermind/docker-java/teams","hooks_url":"https://api.github.com/repos/m0nstermind/docker-java/hooks","issue_events_url":"https://api.github.com/repos/m0nstermind/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/m0nstermind/docker-java/events","assignees_url":"https://api.github.com/repos/m0nstermind/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/m0nstermind/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/m0nstermind/docker-java/tags","blobs_url":"https://api.github.com/repos/m0nstermind/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/m0nstermind/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/m0nstermind/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/m0nstermind/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/m0nstermind/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/m0nstermind/docker-java/languages","stargazers_url":"https://api.github.com/repos/m0nstermind/docker-java/stargazers","contributors_url":"https://api.github.com/repos/m0nstermind/docker-java/contributors","subscribers_url":"https://api.github.com/repos/m0nstermind/docker-java/subscribers","subscription_url":"https://api.github.com/repos/m0nstermind/docker-java/subscription","commits_url":"https://api.github.com/repos/m0nstermind/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/m0nstermind/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/m0nstermind/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/m0nstermind/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/m0nstermind/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/m0nstermind/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/m0nstermind/docker-java/merges","archive_url":"https://api.github.com/repos/m0nstermind/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/m0nstermind/docker-java/downloads","issues_url":"https://api.github.com/repos/m0nstermind/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/m0nstermind/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/m0nstermind/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/m0nstermind/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/m0nstermind/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/m0nstermind/docker-java/releases{/id}","deployments_url":"https://api.github.com/repos/m0nstermind/docker-java/deployments","created_at":"2016-03-15T15:02:05Z","updated_at":"2016-03-15T15:02:07Z","pushed_at":"2016-03-15T15:31:58Z","git_url":"git://github.com/m0nstermind/docker-java.git","ssh_url":"git@github.com:m0nstermind/docker-java.git","clone_url":"https://github.com/m0nstermind/docker-java.git","svn_url":"https://github.com/m0nstermind/docker-java","homepage":"","size":2941,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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-java:master","ref":"master","sha":"119b515a9dc926c24f1b4d1dae337e0290f27d47","user":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"repo":{"id":20415251,"name":"docker-java","full_name":"docker-java/docker-java","owner":{"login":"docker-java","id":7772003,"avatar_url":"https://avatars.githubusercontent.com/u/7772003?v=3","gravatar_id":"","url":"https://api.github.com/users/docker-java","html_url":"https://github.com/docker-java","followers_url":"https://api.github.com/users/docker-java/followers","following_url":"https://api.github.com/users/docker-java/following{/other_user}","gists_url":"https://api.github.com/users/docker-java/gists{/gist_id}","starred_url":"https://api.github.com/users/docker-java/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker-java/subscriptions","organizations_url":"https://api.github.com/users/docker-java/orgs","repos_url":"https://api.github.com/users/docker-java/repos","events_url":"https://api.github.com/users/docker-java/events{/privacy}","received_events_url":"https://api.github.com/users/docker-java/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker-java/docker-java","description":"Java Docker API Client","fork":false,"url":"https://api.github.com/repos/docker-java/docker-java","forks_url":"https://api.github.com/repos/docker-java/docker-java/forks","keys_url":"https://api.github.com/repos/docker-java/docker-java/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker-java/docker-java/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker-java/docker-java/teams","hooks_url":"https://api.github.com/repos/docker-java/docker-java/hooks","issue_events_url":"https://api.github.com/repos/docker-java/docker-java/issues/events{/number}","events_url":"https://api.github.com/repos/docker-java/docker-java/events","assignees_url":"https://api.github.com/repos/docker-java/docker-java/assignees{/user}","branches_url":"https://api.github.com/repos/docker-java/docker-java/branches{/branch}","tags_url":"https://api.github.com/repos/docker-java/docker-java/tags","blobs_url":"https://api.github.com/repos/docker-java/docker-java/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker-java/docker-java/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker-java/docker-java/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker-java/docker-java/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker-java/docker-java/statuses/{sha}","languages_url":"https://api.github.com/repos/docker-java/docker-java/languages","stargazers_url":"https://api.github.com/repos/docker-java/docker-java/stargazers","contributors_url":"https://api.github.com/repos/docker-java/docker-java/contributors","subscribers_url":"https://api.github.com/repos/docker-java/docker-java/subscribers","subscription_url":"https://api.github.com/repos/docker-java/docker-java/subscription","commits_url":"https://api.github.com/repos/docker-java/docker-java/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker-java/docker-java/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker-java/docker-java/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker-java/docker-java/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker-java/docker-java/contents/{+path}","compare_url":"https://api.github.com/repos/docker-java/docker-java/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker-java/docker-java/merges","archive_url":"https://api.github.com/repos/docker-java/docker-java/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker-java/docker-java/downloads","issues_url":"https://api.github.com/repos/docker-java/docker-java/issues{/number}","pulls_url":"https://api.github.com/repos/docker-java/docker-java/pulls{/number}","milestones_url":"https://api.github.com/repos/docker-java/docker-java/milestones{/number}","notifications_url":"https://api.github.com/repos/docker-java/docker-java/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker-java/docker-java/labels{/name}","releases_url":"https://api.github.com/repos/docker-java/docker-java/releases{/id}","deployments_url":"https://api.github.com/repos/docker-java/docker-java/deployments","created_at":"2014-06-02T18:47:31Z","updated_at":"2016-03-22T15:16:57Z","pushed_at":"2016-03-23T06:24:55Z","git_url":"git://github.com/docker-java/docker-java.git","ssh_url":"git@github.com:docker-java/docker-java.git","clone_url":"https://github.com/docker-java/docker-java.git","svn_url":"https://github.com/docker-java/docker-java","homepage":"","size":4080,"stargazers_count":352,"watchers_count":352,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":258,"mirror_url":null,"open_issues_count":48,"forks":258,"open_issues":48,"watchers":352,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/503"},"html":{"href":"https://github.com/docker-java/docker-java/pull/503"},"issue":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/503"},"comments":{"href":"https://api.github.com/repos/docker-java/docker-java/issues/503/comments"},"review_comments":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/503/comments"},"review_comment":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker-java/docker-java/pulls/503/commits"},"statuses":{"href":"https://api.github.com/repos/docker-java/docker-java/statuses/d2afd3039670e75b56722c96ae69c2907080f66f"}}}}