{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/rkt/pulls/comments/34785626","id":34785626,"diff_hunk":"@@ -149,6 +149,10 @@ sha512-c4010045aec65aefa74770ef2bb648d9\n \n Docker images do not support signature verification.\n \n+#### Authentication\n+\n+If you want to download an image from a private repository, then you will often need to pass credentials to be able to access it. rkt currently supports authentication for fetching images via https:// or docker:// protocols. To specify credentials you will have to write some configuration files. The format of configuration file and examples [are here](configuration.md). Note that there is different configuration kind for images downloaded via https:// protocol and different for ones downloaded via docker:// one.","path":"Documentation/commands.md","position":6,"original_position":6,"commit_id":"f79fec4496da2b2d95b3d037ccfdfa3f044a4e37","original_commit_id":"f79fec4496da2b2d95b3d037ccfdfa3f044a4e37","user":{"login":"iaguis","id":507354,"avatar_url":"https://avatars.githubusercontent.com/u/507354?v=3","gravatar_id":"","url":"https://api.github.com/users/iaguis","html_url":"https://github.com/iaguis","followers_url":"https://api.github.com/users/iaguis/followers","following_url":"https://api.github.com/users/iaguis/following{/other_user}","gists_url":"https://api.github.com/users/iaguis/gists{/gist_id}","starred_url":"https://api.github.com/users/iaguis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iaguis/subscriptions","organizations_url":"https://api.github.com/users/iaguis/orgs","repos_url":"https://api.github.com/users/iaguis/repos","events_url":"https://api.github.com/users/iaguis/events{/privacy}","received_events_url":"https://api.github.com/users/iaguis/received_events","type":"User","site_admin":false},"body":"Last sentence is confusing. How about\r\n\r\n\"Note that the configuration kind for images downloaded via https:// and images downloaded via docker:// is different.\"","created_at":"2015-07-16T13:22:25Z","updated_at":"2015-07-16T13:22:25Z","html_url":"https://github.com/coreos/rkt/pull/1159#discussion_r34785626","pull_request_url":"https://api.github.com/repos/coreos/rkt/pulls/1159","_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments/34785626"},"html":{"href":"https://github.com/coreos/rkt/pull/1159#discussion_r34785626"},"pull_request":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1159"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/rkt/pulls/1159","id":40125909,"html_url":"https://github.com/coreos/rkt/pull/1159","diff_url":"https://github.com/coreos/rkt/pull/1159.diff","patch_url":"https://github.com/coreos/rkt/pull/1159.patch","issue_url":"https://api.github.com/repos/coreos/rkt/issues/1159","number":1159,"state":"open","locked":false,"title":"docs: Improve authentication docs a bit","user":{"login":"krnowak","id":96081,"avatar_url":"https://avatars.githubusercontent.com/u/96081?v=3","gravatar_id":"","url":"https://api.github.com/users/krnowak","html_url":"https://github.com/krnowak","followers_url":"https://api.github.com/users/krnowak/followers","following_url":"https://api.github.com/users/krnowak/following{/other_user}","gists_url":"https://api.github.com/users/krnowak/gists{/gist_id}","starred_url":"https://api.github.com/users/krnowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krnowak/subscriptions","organizations_url":"https://api.github.com/users/krnowak/orgs","repos_url":"https://api.github.com/users/krnowak/repos","events_url":"https://api.github.com/users/krnowak/events{/privacy}","received_events_url":"https://api.github.com/users/krnowak/received_events","type":"User","site_admin":false},"body":"Just explain it a little bit and put links to main document about\r\nconfiguration, which currently describes only authentication.\r\n\r\nI decided against cooking another document only for authentication - the `configuration.md` describes the format quite extensively and has lots of examples.\r\n\r\nFixes #866.","created_at":"2015-07-16T12:56:41Z","updated_at":"2015-07-16T13:22:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a055b5d2f16c3cf43b61dcc0db4be33664befda0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/rkt/pulls/1159/commits","review_comments_url":"https://api.github.com/repos/coreos/rkt/pulls/1159/comments","review_comment_url":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/1159/comments","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/f79fec4496da2b2d95b3d037ccfdfa3f044a4e37","head":{"label":"endocode:krnowak/auth-docs-fixes","ref":"krnowak/auth-docs-fixes","sha":"f79fec4496da2b2d95b3d037ccfdfa3f044a4e37","user":{"login":"endocode","id":4068543,"avatar_url":"https://avatars.githubusercontent.com/u/4068543?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode","html_url":"https://github.com/endocode","followers_url":"https://api.github.com/users/endocode/followers","following_url":"https://api.github.com/users/endocode/following{/other_user}","gists_url":"https://api.github.com/users/endocode/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode/subscriptions","organizations_url":"https://api.github.com/users/endocode/orgs","repos_url":"https://api.github.com/users/endocode/repos","events_url":"https://api.github.com/users/endocode/events{/privacy}","received_events_url":"https://api.github.com/users/endocode/received_events","type":"Organization","site_admin":false},"repo":{"id":28082853,"name":"rkt","full_name":"endocode/rkt","owner":{"login":"endocode","id":4068543,"avatar_url":"https://avatars.githubusercontent.com/u/4068543?v=3","gravatar_id":"","url":"https://api.github.com/users/endocode","html_url":"https://github.com/endocode","followers_url":"https://api.github.com/users/endocode/followers","following_url":"https://api.github.com/users/endocode/following{/other_user}","gists_url":"https://api.github.com/users/endocode/gists{/gist_id}","starred_url":"https://api.github.com/users/endocode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endocode/subscriptions","organizations_url":"https://api.github.com/users/endocode/orgs","repos_url":"https://api.github.com/users/endocode/repos","events_url":"https://api.github.com/users/endocode/events{/privacy}","received_events_url":"https://api.github.com/users/endocode/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/endocode/rkt","description":"App Container runtime","fork":true,"url":"https://api.github.com/repos/endocode/rkt","forks_url":"https://api.github.com/repos/endocode/rkt/forks","keys_url":"https://api.github.com/repos/endocode/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/endocode/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/endocode/rkt/teams","hooks_url":"https://api.github.com/repos/endocode/rkt/hooks","issue_events_url":"https://api.github.com/repos/endocode/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/endocode/rkt/events","assignees_url":"https://api.github.com/repos/endocode/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/endocode/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/endocode/rkt/tags","blobs_url":"https://api.github.com/repos/endocode/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/endocode/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/endocode/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/endocode/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/endocode/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/endocode/rkt/languages","stargazers_url":"https://api.github.com/repos/endocode/rkt/stargazers","contributors_url":"https://api.github.com/repos/endocode/rkt/contributors","subscribers_url":"https://api.github.com/repos/endocode/rkt/subscribers","subscription_url":"https://api.github.com/repos/endocode/rkt/subscription","commits_url":"https://api.github.com/repos/endocode/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/endocode/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/endocode/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/endocode/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/endocode/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/endocode/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/endocode/rkt/merges","archive_url":"https://api.github.com/repos/endocode/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/endocode/rkt/downloads","issues_url":"https://api.github.com/repos/endocode/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/endocode/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/endocode/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/endocode/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/endocode/rkt/labels{/name}","releases_url":"https://api.github.com/repos/endocode/rkt/releases{/id}","created_at":"2014-12-16T10:52:13Z","updated_at":"2015-04-30T07:44:22Z","pushed_at":"2015-07-16T13:14:59Z","git_url":"git://github.com/endocode/rkt.git","ssh_url":"git@github.com:endocode/rkt.git","clone_url":"https://github.com/endocode/rkt.git","svn_url":"https://github.com/endocode/rkt","homepage":"","size":8679,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"coreos:master","ref":"master","sha":"0c0af62e9c7dd1ecdbd2f9ebd4bbf98a44513bde","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":26509369,"name":"rkt","full_name":"coreos/rkt","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/rkt","description":"rkt is an App Container runtime for Linux","fork":false,"url":"https://api.github.com/repos/coreos/rkt","forks_url":"https://api.github.com/repos/coreos/rkt/forks","keys_url":"https://api.github.com/repos/coreos/rkt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/rkt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/rkt/teams","hooks_url":"https://api.github.com/repos/coreos/rkt/hooks","issue_events_url":"https://api.github.com/repos/coreos/rkt/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/rkt/events","assignees_url":"https://api.github.com/repos/coreos/rkt/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/rkt/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/rkt/tags","blobs_url":"https://api.github.com/repos/coreos/rkt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/rkt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/rkt/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/rkt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/rkt/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/rkt/languages","stargazers_url":"https://api.github.com/repos/coreos/rkt/stargazers","contributors_url":"https://api.github.com/repos/coreos/rkt/contributors","subscribers_url":"https://api.github.com/repos/coreos/rkt/subscribers","subscription_url":"https://api.github.com/repos/coreos/rkt/subscription","commits_url":"https://api.github.com/repos/coreos/rkt/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/rkt/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/rkt/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/rkt/issues/comments{/number}","contents_url":"https://api.github.com/repos/coreos/rkt/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/rkt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/rkt/merges","archive_url":"https://api.github.com/repos/coreos/rkt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/rkt/downloads","issues_url":"https://api.github.com/repos/coreos/rkt/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/rkt/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/rkt/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/rkt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/rkt/labels{/name}","releases_url":"https://api.github.com/repos/coreos/rkt/releases{/id}","created_at":"2014-11-11T23:13:18Z","updated_at":"2015-07-16T10:42:33Z","pushed_at":"2015-07-16T13:14:59Z","git_url":"git://github.com/coreos/rkt.git","ssh_url":"git@github.com:coreos/rkt.git","clone_url":"https://github.com/coreos/rkt.git","svn_url":"https://github.com/coreos/rkt","homepage":"","size":15395,"stargazers_count":4463,"watchers_count":4463,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":357,"mirror_url":null,"open_issues_count":134,"forks":357,"open_issues":134,"watchers":4463,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1159"},"html":{"href":"https://github.com/coreos/rkt/pull/1159"},"issue":{"href":"https://api.github.com/repos/coreos/rkt/issues/1159"},"comments":{"href":"https://api.github.com/repos/coreos/rkt/issues/1159/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1159/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/rkt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coreos/rkt/pulls/1159/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/rkt/statuses/f79fec4496da2b2d95b3d037ccfdfa3f044a4e37"}}}}