{"action":"opened","number":1223,"pull_request":{"url":"https://api.github.com/repos/docker/cli/pulls/1223","id":202567252,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNTY3MjUy","html_url":"https://github.com/docker/cli/pull/1223","diff_url":"https://github.com/docker/cli/pull/1223.diff","patch_url":"https://github.com/docker/cli/pull/1223.patch","issue_url":"https://api.github.com/repos/docker/cli/issues/1223","number":1223,"state":"open","locked":false,"title":"Update mount.go to allow relative file paths","user":{"login":"justyntemme","id":7116592,"node_id":"MDQ6VXNlcjcxMTY1OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7116592?v=4","gravatar_id":"","url":"https://api.github.com/users/justyntemme","html_url":"https://github.com/justyntemme","followers_url":"https://api.github.com/users/justyntemme/followers","following_url":"https://api.github.com/users/justyntemme/following{/other_user}","gists_url":"https://api.github.com/users/justyntemme/gists{/gist_id}","starred_url":"https://api.github.com/users/justyntemme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justyntemme/subscriptions","organizations_url":"https://api.github.com/users/justyntemme/orgs","repos_url":"https://api.github.com/users/justyntemme/repos","events_url":"https://api.github.com/users/justyntemme/events{/privacy}","received_events_url":"https://api.github.com/users/justyntemme/received_events","type":"User","site_admin":false},"body":"<!--\r\nPlease make sure you've read and understood our contributing guidelines;\r\nhttps://github.com/docker/cli/blob/master/CONTRIBUTING.md\r\n\r\n** Make sure all your commits include a signature generated with `git commit -s` **\r\n\r\nFor additional information on our contributing process, read our contributing\r\nguide https://docs.docker.com/opensource/code/\r\n\r\nIf this is a bug fix, make sure your description includes \"fixes #xxxx\", or\r\n\"closes #xxxx\"\r\n\r\nPlease provide the following information:\r\n-->\r\n\r\n**- What I did**\r\nFix for https://github.com/docker/cli/issues/1203\r\n\r\nI resolved the mount argument 'source' to it's absolute filepath.\r\n**- How I did it**\r\nI used the golang library to resolve before the argument is tested for being absolute\r\n**- How to verify it**\r\nsudo ./docker run --mount type=bind,source=../e2e,target=/app nginx\r\n\r\nsudo docker exec -it NGINX_CONTAINER /bin/bash\r\nls /app\r\n**- Description for the changelog**\r\n<!--\r\nWrite a short (one line) summary that describes the changes in this\r\npull request for inclusion in the changelog:\r\n-->\r\nAdded ability to use relative file paths for mount\r\n\r\n**- A picture of a cute animal (not mandatory but encouraged)**\r\n\r\n![seal of approval](https://image.shutterstock.com/image-photo/young-grey-seal-pup-thats-260nw-523097602.jpg)","created_at":"2018-07-19T13:53:32Z","updated_at":"2018-07-19T13:53:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/docker/cli/pulls/1223/commits","review_comments_url":"https://api.github.com/repos/docker/cli/pulls/1223/comments","review_comment_url":"https://api.github.com/repos/docker/cli/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/cli/issues/1223/comments","statuses_url":"https://api.github.com/repos/docker/cli/statuses/f56c7caaa41f5675714ccfb4842ef17ebdabedd5","head":{"label":"justyntemme:patch-1","ref":"patch-1","sha":"f56c7caaa41f5675714ccfb4842ef17ebdabedd5","user":{"login":"justyntemme","id":7116592,"node_id":"MDQ6VXNlcjcxMTY1OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7116592?v=4","gravatar_id":"","url":"https://api.github.com/users/justyntemme","html_url":"https://github.com/justyntemme","followers_url":"https://api.github.com/users/justyntemme/followers","following_url":"https://api.github.com/users/justyntemme/following{/other_user}","gists_url":"https://api.github.com/users/justyntemme/gists{/gist_id}","starred_url":"https://api.github.com/users/justyntemme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justyntemme/subscriptions","organizations_url":"https://api.github.com/users/justyntemme/orgs","repos_url":"https://api.github.com/users/justyntemme/repos","events_url":"https://api.github.com/users/justyntemme/events{/privacy}","received_events_url":"https://api.github.com/users/justyntemme/received_events","type":"User","site_admin":false},"repo":{"id":141480886,"node_id":"MDEwOlJlcG9zaXRvcnkxNDE0ODA4ODY=","name":"cli","full_name":"justyntemme/cli","owner":{"login":"justyntemme","id":7116592,"node_id":"MDQ6VXNlcjcxMTY1OTI=","avatar_url":"https://avatars1.githubusercontent.com/u/7116592?v=4","gravatar_id":"","url":"https://api.github.com/users/justyntemme","html_url":"https://github.com/justyntemme","followers_url":"https://api.github.com/users/justyntemme/followers","following_url":"https://api.github.com/users/justyntemme/following{/other_user}","gists_url":"https://api.github.com/users/justyntemme/gists{/gist_id}","starred_url":"https://api.github.com/users/justyntemme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justyntemme/subscriptions","organizations_url":"https://api.github.com/users/justyntemme/orgs","repos_url":"https://api.github.com/users/justyntemme/repos","events_url":"https://api.github.com/users/justyntemme/events{/privacy}","received_events_url":"https://api.github.com/users/justyntemme/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justyntemme/cli","description":"The Docker CLI","fork":true,"url":"https://api.github.com/repos/justyntemme/cli","forks_url":"https://api.github.com/repos/justyntemme/cli/forks","keys_url":"https://api.github.com/repos/justyntemme/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justyntemme/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justyntemme/cli/teams","hooks_url":"https://api.github.com/repos/justyntemme/cli/hooks","issue_events_url":"https://api.github.com/repos/justyntemme/cli/issues/events{/number}","events_url":"https://api.github.com/repos/justyntemme/cli/events","assignees_url":"https://api.github.com/repos/justyntemme/cli/assignees{/user}","branches_url":"https://api.github.com/repos/justyntemme/cli/branches{/branch}","tags_url":"https://api.github.com/repos/justyntemme/cli/tags","blobs_url":"https://api.github.com/repos/justyntemme/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justyntemme/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justyntemme/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/justyntemme/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justyntemme/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/justyntemme/cli/languages","stargazers_url":"https://api.github.com/repos/justyntemme/cli/stargazers","contributors_url":"https://api.github.com/repos/justyntemme/cli/contributors","subscribers_url":"https://api.github.com/repos/justyntemme/cli/subscribers","subscription_url":"https://api.github.com/repos/justyntemme/cli/subscription","commits_url":"https://api.github.com/repos/justyntemme/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/justyntemme/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/justyntemme/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/justyntemme/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/justyntemme/cli/contents/{+path}","compare_url":"https://api.github.com/repos/justyntemme/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justyntemme/cli/merges","archive_url":"https://api.github.com/repos/justyntemme/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justyntemme/cli/downloads","issues_url":"https://api.github.com/repos/justyntemme/cli/issues{/number}","pulls_url":"https://api.github.com/repos/justyntemme/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/justyntemme/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/justyntemme/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justyntemme/cli/labels{/name}","releases_url":"https://api.github.com/repos/justyntemme/cli/releases{/id}","deployments_url":"https://api.github.com/repos/justyntemme/cli/deployments","created_at":"2018-07-18T19:29:00Z","updated_at":"2018-07-18T19:40:14Z","pushed_at":"2018-07-19T13:50:49Z","git_url":"git://github.com/justyntemme/cli.git","ssh_url":"git@github.com:justyntemme/cli.git","clone_url":"https://github.com/justyntemme/cli.git","svn_url":"https://github.com/justyntemme/cli","homepage":null,"size":18644,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"48fbb12b7ca2b6c1536baa2a3cbedfb4ebf8eb53","user":{"login":"docker","id":5429470,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/5429470?v=4","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":88013053,"node_id":"MDEwOlJlcG9zaXRvcnk4ODAxMzA1Mw==","name":"cli","full_name":"docker/cli","owner":{"login":"docker","id":5429470,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0Mjk0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/5429470?v=4","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/cli","description":"The Docker CLI","fork":false,"url":"https://api.github.com/repos/docker/cli","forks_url":"https://api.github.com/repos/docker/cli/forks","keys_url":"https://api.github.com/repos/docker/cli/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/cli/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/cli/teams","hooks_url":"https://api.github.com/repos/docker/cli/hooks","issue_events_url":"https://api.github.com/repos/docker/cli/issues/events{/number}","events_url":"https://api.github.com/repos/docker/cli/events","assignees_url":"https://api.github.com/repos/docker/cli/assignees{/user}","branches_url":"https://api.github.com/repos/docker/cli/branches{/branch}","tags_url":"https://api.github.com/repos/docker/cli/tags","blobs_url":"https://api.github.com/repos/docker/cli/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/cli/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/cli/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/cli/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/cli/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/cli/languages","stargazers_url":"https://api.github.com/repos/docker/cli/stargazers","contributors_url":"https://api.github.com/repos/docker/cli/contributors","subscribers_url":"https://api.github.com/repos/docker/cli/subscribers","subscription_url":"https://api.github.com/repos/docker/cli/subscription","commits_url":"https://api.github.com/repos/docker/cli/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/cli/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/cli/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/cli/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/cli/contents/{+path}","compare_url":"https://api.github.com/repos/docker/cli/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/cli/merges","archive_url":"https://api.github.com/repos/docker/cli/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/cli/downloads","issues_url":"https://api.github.com/repos/docker/cli/issues{/number}","pulls_url":"https://api.github.com/repos/docker/cli/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/cli/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/cli/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/cli/labels{/name}","releases_url":"https://api.github.com/repos/docker/cli/releases{/id}","deployments_url":"https://api.github.com/repos/docker/cli/deployments","created_at":"2017-04-12T05:27:42Z","updated_at":"2018-07-18T08:39:41Z","pushed_at":"2018-07-19T13:28:15Z","git_url":"git://github.com/docker/cli.git","ssh_url":"git@github.com:docker/cli.git","clone_url":"https://github.com/docker/cli.git","svn_url":"https://github.com/docker/cli","homepage":null,"size":18643,"stargazers_count":733,"watchers_count":733,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":451,"mirror_url":null,"archived":false,"open_issues_count":242,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":451,"open_issues":242,"watchers":733,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/cli/pulls/1223"},"html":{"href":"https://github.com/docker/cli/pull/1223"},"issue":{"href":"https://api.github.com/repos/docker/cli/issues/1223"},"comments":{"href":"https://api.github.com/repos/docker/cli/issues/1223/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/cli/pulls/1223/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/cli/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/cli/pulls/1223/commits"},"statuses":{"href":"https://api.github.com/repos/docker/cli/statuses/f56c7caaa41f5675714ccfb4842ef17ebdabedd5"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"justyntemme"}}