{"action":"closed","number":16013,"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/16013","id":43964030,"html_url":"https://github.com/docker/docker/pull/16013","diff_url":"https://github.com/docker/docker/pull/16013.diff","patch_url":"https://github.com/docker/docker/pull/16013.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/16013","number":16013,"state":"closed","locked":false,"title":"fix 15962 to make the behavior of -v /containerpaht:ro right","user":{"login":"xlgao-zju","id":1636894,"avatar_url":"https://avatars.githubusercontent.com/u/1636894?v=3","gravatar_id":"","url":"https://api.github.com/users/xlgao-zju","html_url":"https://github.com/xlgao-zju","followers_url":"https://api.github.com/users/xlgao-zju/followers","following_url":"https://api.github.com/users/xlgao-zju/following{/other_user}","gists_url":"https://api.github.com/users/xlgao-zju/gists{/gist_id}","starred_url":"https://api.github.com/users/xlgao-zju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xlgao-zju/subscriptions","organizations_url":"https://api.github.com/users/xlgao-zju/orgs","repos_url":"https://api.github.com/users/xlgao-zju/repos","events_url":"https://api.github.com/users/xlgao-zju/events{/privacy}","received_events_url":"https://api.github.com/users/xlgao-zju/received_events","type":"User","site_admin":false},"body":"fix #15962 \r\nFor now, If user uses this command line:\r\n\r\n    $ docker run -i -t -v /Documents:ro ubuntu:latest bash\r\n\r\nIt will mount the given directory onto /ro!\r\n\r\nSo, this change will make the above command line create a volume with ro mode.\r\nAnd this change will also handled the rw mode.\r\n\r\nCould you review the code please?\r\n@calavera ","created_at":"2015-09-02T08:06:43Z","updated_at":"2015-10-08T18:32:55Z","closed_at":"2015-10-08T18:32:55Z","merged_at":null,"merge_commit_sha":"4d7f5f4dc7d60f9114c485974b3bb7f84d8166ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/docker/pulls/16013/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/16013/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/16013/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/3e25536906e28436211d98330a9decd189309402","head":{"label":"ZJU-SEL:15962-fix-ro","ref":"15962-fix-ro","sha":"3e25536906e28436211d98330a9decd189309402","user":{"login":"ZJU-SEL","id":5188515,"avatar_url":"https://avatars.githubusercontent.com/u/5188515?v=3","gravatar_id":"","url":"https://api.github.com/users/ZJU-SEL","html_url":"https://github.com/ZJU-SEL","followers_url":"https://api.github.com/users/ZJU-SEL/followers","following_url":"https://api.github.com/users/ZJU-SEL/following{/other_user}","gists_url":"https://api.github.com/users/ZJU-SEL/gists{/gist_id}","starred_url":"https://api.github.com/users/ZJU-SEL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZJU-SEL/subscriptions","organizations_url":"https://api.github.com/users/ZJU-SEL/orgs","repos_url":"https://api.github.com/users/ZJU-SEL/repos","events_url":"https://api.github.com/users/ZJU-SEL/events{/privacy}","received_events_url":"https://api.github.com/users/ZJU-SEL/received_events","type":"Organization","site_admin":false},"repo":{"id":32916151,"name":"docker","full_name":"ZJU-SEL/docker","owner":{"login":"ZJU-SEL","id":5188515,"avatar_url":"https://avatars.githubusercontent.com/u/5188515?v=3","gravatar_id":"","url":"https://api.github.com/users/ZJU-SEL","html_url":"https://github.com/ZJU-SEL","followers_url":"https://api.github.com/users/ZJU-SEL/followers","following_url":"https://api.github.com/users/ZJU-SEL/following{/other_user}","gists_url":"https://api.github.com/users/ZJU-SEL/gists{/gist_id}","starred_url":"https://api.github.com/users/ZJU-SEL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZJU-SEL/subscriptions","organizations_url":"https://api.github.com/users/ZJU-SEL/orgs","repos_url":"https://api.github.com/users/ZJU-SEL/repos","events_url":"https://api.github.com/users/ZJU-SEL/events{/privacy}","received_events_url":"https://api.github.com/users/ZJU-SEL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZJU-SEL/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/ZJU-SEL/docker","forks_url":"https://api.github.com/repos/ZJU-SEL/docker/forks","keys_url":"https://api.github.com/repos/ZJU-SEL/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZJU-SEL/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZJU-SEL/docker/teams","hooks_url":"https://api.github.com/repos/ZJU-SEL/docker/hooks","issue_events_url":"https://api.github.com/repos/ZJU-SEL/docker/issues/events{/number}","events_url":"https://api.github.com/repos/ZJU-SEL/docker/events","assignees_url":"https://api.github.com/repos/ZJU-SEL/docker/assignees{/user}","branches_url":"https://api.github.com/repos/ZJU-SEL/docker/branches{/branch}","tags_url":"https://api.github.com/repos/ZJU-SEL/docker/tags","blobs_url":"https://api.github.com/repos/ZJU-SEL/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZJU-SEL/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZJU-SEL/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZJU-SEL/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZJU-SEL/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/ZJU-SEL/docker/languages","stargazers_url":"https://api.github.com/repos/ZJU-SEL/docker/stargazers","contributors_url":"https://api.github.com/repos/ZJU-SEL/docker/contributors","subscribers_url":"https://api.github.com/repos/ZJU-SEL/docker/subscribers","subscription_url":"https://api.github.com/repos/ZJU-SEL/docker/subscription","commits_url":"https://api.github.com/repos/ZJU-SEL/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZJU-SEL/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZJU-SEL/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZJU-SEL/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZJU-SEL/docker/contents/{+path}","compare_url":"https://api.github.com/repos/ZJU-SEL/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZJU-SEL/docker/merges","archive_url":"https://api.github.com/repos/ZJU-SEL/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZJU-SEL/docker/downloads","issues_url":"https://api.github.com/repos/ZJU-SEL/docker/issues{/number}","pulls_url":"https://api.github.com/repos/ZJU-SEL/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/ZJU-SEL/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/ZJU-SEL/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZJU-SEL/docker/labels{/name}","releases_url":"https://api.github.com/repos/ZJU-SEL/docker/releases{/id}","created_at":"2015-03-26T08:39:34Z","updated_at":"2015-08-11T08:20:23Z","pushed_at":"2015-10-08T14:10:57Z","git_url":"git://github.com/ZJU-SEL/docker.git","ssh_url":"git@github.com:ZJU-SEL/docker.git","clone_url":"https://github.com/ZJU-SEL/docker.git","svn_url":"https://github.com/ZJU-SEL/docker","homepage":"http://www.docker.com","size":70139,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"9ea72672856fe5777f12d6939a2e0c7fca9f5550","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-10-08T18:28:16Z","pushed_at":"2015-10-08T18:27:30Z","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":263660,"stargazers_count":25288,"watchers_count":25288,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6636,"mirror_url":null,"open_issues_count":1138,"forks":6636,"open_issues":1138,"watchers":25288,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/16013"},"html":{"href":"https://github.com/docker/docker/pull/16013"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/16013"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/16013/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/16013/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/16013/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/3e25536906e28436211d98330a9decd189309402"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":8,"review_comments":0,"commits":1,"additions":51,"deletions":3,"changed_files":4}}