{"action":"created","comment":{"url":"https://api.github.com/repos/SUSE/Portus/pulls/comments/47897720","id":47897720,"diff_hunk":"@@ -2,8 +2,16 @@\n \n set -e\n \n+compose() {\n+  if [ \"$OVERLAY\" -eq 1 ]; then\n+    docker-compose --x-networking --x-network-driver overlay -f ./docker-compose.yml.overlay $@","path":"compose-setup.sh","position":6,"original_position":6,"commit_id":"0fa7c28b6624bb9046ce8650c471f3aee5c50559","original_commit_id":"0fa7c28b6624bb9046ce8650c471f3aee5c50559","user":{"login":"cyphar","id":2888411,"avatar_url":"https://avatars.githubusercontent.com/u/2888411?v=3","gravatar_id":"","url":"https://api.github.com/users/cyphar","html_url":"https://github.com/cyphar","followers_url":"https://api.github.com/users/cyphar/followers","following_url":"https://api.github.com/users/cyphar/following{/other_user}","gists_url":"https://api.github.com/users/cyphar/gists{/gist_id}","starred_url":"https://api.github.com/users/cyphar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyphar/subscriptions","organizations_url":"https://api.github.com/users/cyphar/orgs","repos_url":"https://api.github.com/users/cyphar/repos","events_url":"https://api.github.com/users/cyphar/events{/privacy}","received_events_url":"https://api.github.com/users/cyphar/received_events","type":"User","site_admin":false},"body":":smile_cat:","created_at":"2015-12-17T11:57:44Z","updated_at":"2015-12-17T11:57:44Z","html_url":"https://github.com/SUSE/Portus/pull/636#discussion_r47897720","pull_request_url":"https://api.github.com/repos/SUSE/Portus/pulls/636","_links":{"self":{"href":"https://api.github.com/repos/SUSE/Portus/pulls/comments/47897720"},"html":{"href":"https://github.com/SUSE/Portus/pull/636#discussion_r47897720"},"pull_request":{"href":"https://api.github.com/repos/SUSE/Portus/pulls/636"}}},"pull_request":{"url":"https://api.github.com/repos/SUSE/Portus/pulls/636","id":53837924,"html_url":"https://github.com/SUSE/Portus/pull/636","diff_url":"https://github.com/SUSE/Portus/pull/636.diff","patch_url":"https://github.com/SUSE/Portus/pull/636.patch","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/636","number":636,"state":"open","locked":false,"title":"[DO NOT MERGE] compose: support Docker 1.9 overlay networking","user":{"login":"cyphar","id":2888411,"avatar_url":"https://avatars.githubusercontent.com/u/2888411?v=3","gravatar_id":"","url":"https://api.github.com/users/cyphar","html_url":"https://github.com/cyphar","followers_url":"https://api.github.com/users/cyphar/followers","following_url":"https://api.github.com/users/cyphar/following{/other_user}","gists_url":"https://api.github.com/users/cyphar/gists{/gist_id}","starred_url":"https://api.github.com/users/cyphar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyphar/subscriptions","organizations_url":"https://api.github.com/users/cyphar/orgs","repos_url":"https://api.github.com/users/cyphar/repos","events_url":"https://api.github.com/users/cyphar/events{/privacy}","received_events_url":"https://api.github.com/users/cyphar/received_events","type":"User","site_admin":false},"body":"Rather than using the (quite outdated) links system, use the new overlay\r\nnetwork driver added in Docker 1.9. While this support is currently (as\r\nof Docker compose 1.5.2) experimental, it works pretty well.\r\n\r\nSigned-off-by: Aleksa Sarai <asarai@suse.com>\r\n\r\nThe two setups (linksv1 and overlay) are completely independant,\r\nand doesn't require any configuration generation.","created_at":"2015-12-16T12:59:20Z","updated_at":"2015-12-17T11:57:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"83efdddc5529163a9ecfa28ffaf96c56d756d14a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SUSE/Portus/pulls/636/commits","review_comments_url":"https://api.github.com/repos/SUSE/Portus/pulls/636/comments","review_comment_url":"https://api.github.com/repos/SUSE/Portus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/636/comments","statuses_url":"https://api.github.com/repos/SUSE/Portus/statuses/0fa7c28b6624bb9046ce8650c471f3aee5c50559","head":{"label":"cyphar:compose-overlay-networking","ref":"compose-overlay-networking","sha":"0fa7c28b6624bb9046ce8650c471f3aee5c50559","user":{"login":"cyphar","id":2888411,"avatar_url":"https://avatars.githubusercontent.com/u/2888411?v=3","gravatar_id":"","url":"https://api.github.com/users/cyphar","html_url":"https://github.com/cyphar","followers_url":"https://api.github.com/users/cyphar/followers","following_url":"https://api.github.com/users/cyphar/following{/other_user}","gists_url":"https://api.github.com/users/cyphar/gists{/gist_id}","starred_url":"https://api.github.com/users/cyphar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyphar/subscriptions","organizations_url":"https://api.github.com/users/cyphar/orgs","repos_url":"https://api.github.com/users/cyphar/repos","events_url":"https://api.github.com/users/cyphar/events{/privacy}","received_events_url":"https://api.github.com/users/cyphar/received_events","type":"User","site_admin":false},"repo":{"id":47392647,"name":"Portus","full_name":"cyphar/Portus","owner":{"login":"cyphar","id":2888411,"avatar_url":"https://avatars.githubusercontent.com/u/2888411?v=3","gravatar_id":"","url":"https://api.github.com/users/cyphar","html_url":"https://github.com/cyphar","followers_url":"https://api.github.com/users/cyphar/followers","following_url":"https://api.github.com/users/cyphar/following{/other_user}","gists_url":"https://api.github.com/users/cyphar/gists{/gist_id}","starred_url":"https://api.github.com/users/cyphar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyphar/subscriptions","organizations_url":"https://api.github.com/users/cyphar/orgs","repos_url":"https://api.github.com/users/cyphar/repos","events_url":"https://api.github.com/users/cyphar/events{/privacy}","received_events_url":"https://api.github.com/users/cyphar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cyphar/Portus","description":"Authorization service and frontend for Docker registry (v2)","fork":true,"url":"https://api.github.com/repos/cyphar/Portus","forks_url":"https://api.github.com/repos/cyphar/Portus/forks","keys_url":"https://api.github.com/repos/cyphar/Portus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cyphar/Portus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cyphar/Portus/teams","hooks_url":"https://api.github.com/repos/cyphar/Portus/hooks","issue_events_url":"https://api.github.com/repos/cyphar/Portus/issues/events{/number}","events_url":"https://api.github.com/repos/cyphar/Portus/events","assignees_url":"https://api.github.com/repos/cyphar/Portus/assignees{/user}","branches_url":"https://api.github.com/repos/cyphar/Portus/branches{/branch}","tags_url":"https://api.github.com/repos/cyphar/Portus/tags","blobs_url":"https://api.github.com/repos/cyphar/Portus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cyphar/Portus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cyphar/Portus/git/refs{/sha}","trees_url":"https://api.github.com/repos/cyphar/Portus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cyphar/Portus/statuses/{sha}","languages_url":"https://api.github.com/repos/cyphar/Portus/languages","stargazers_url":"https://api.github.com/repos/cyphar/Portus/stargazers","contributors_url":"https://api.github.com/repos/cyphar/Portus/contributors","subscribers_url":"https://api.github.com/repos/cyphar/Portus/subscribers","subscription_url":"https://api.github.com/repos/cyphar/Portus/subscription","commits_url":"https://api.github.com/repos/cyphar/Portus/commits{/sha}","git_commits_url":"https://api.github.com/repos/cyphar/Portus/git/commits{/sha}","comments_url":"https://api.github.com/repos/cyphar/Portus/comments{/number}","issue_comment_url":"https://api.github.com/repos/cyphar/Portus/issues/comments{/number}","contents_url":"https://api.github.com/repos/cyphar/Portus/contents/{+path}","compare_url":"https://api.github.com/repos/cyphar/Portus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cyphar/Portus/merges","archive_url":"https://api.github.com/repos/cyphar/Portus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cyphar/Portus/downloads","issues_url":"https://api.github.com/repos/cyphar/Portus/issues{/number}","pulls_url":"https://api.github.com/repos/cyphar/Portus/pulls{/number}","milestones_url":"https://api.github.com/repos/cyphar/Portus/milestones{/number}","notifications_url":"https://api.github.com/repos/cyphar/Portus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cyphar/Portus/labels{/name}","releases_url":"https://api.github.com/repos/cyphar/Portus/releases{/id}","created_at":"2015-12-04T08:55:49Z","updated_at":"2015-12-04T08:55:50Z","pushed_at":"2015-12-17T11:49:52Z","git_url":"git://github.com/cyphar/Portus.git","ssh_url":"git@github.com:cyphar/Portus.git","clone_url":"https://github.com/cyphar/Portus.git","svn_url":"https://github.com/cyphar/Portus","homepage":"http://port.us.org/","size":18288,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SUSE:master","ref":"master","sha":"b40b0d11f18f0fee54471df28aabe35d1ea043d9","user":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"repo":{"id":33866783,"name":"Portus","full_name":"SUSE/Portus","owner":{"login":"SUSE","id":1067733,"avatar_url":"https://avatars.githubusercontent.com/u/1067733?v=3","gravatar_id":"","url":"https://api.github.com/users/SUSE","html_url":"https://github.com/SUSE","followers_url":"https://api.github.com/users/SUSE/followers","following_url":"https://api.github.com/users/SUSE/following{/other_user}","gists_url":"https://api.github.com/users/SUSE/gists{/gist_id}","starred_url":"https://api.github.com/users/SUSE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SUSE/subscriptions","organizations_url":"https://api.github.com/users/SUSE/orgs","repos_url":"https://api.github.com/users/SUSE/repos","events_url":"https://api.github.com/users/SUSE/events{/privacy}","received_events_url":"https://api.github.com/users/SUSE/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SUSE/Portus","description":"Authorization service and frontend for Docker registry (v2)","fork":false,"url":"https://api.github.com/repos/SUSE/Portus","forks_url":"https://api.github.com/repos/SUSE/Portus/forks","keys_url":"https://api.github.com/repos/SUSE/Portus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SUSE/Portus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SUSE/Portus/teams","hooks_url":"https://api.github.com/repos/SUSE/Portus/hooks","issue_events_url":"https://api.github.com/repos/SUSE/Portus/issues/events{/number}","events_url":"https://api.github.com/repos/SUSE/Portus/events","assignees_url":"https://api.github.com/repos/SUSE/Portus/assignees{/user}","branches_url":"https://api.github.com/repos/SUSE/Portus/branches{/branch}","tags_url":"https://api.github.com/repos/SUSE/Portus/tags","blobs_url":"https://api.github.com/repos/SUSE/Portus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SUSE/Portus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SUSE/Portus/git/refs{/sha}","trees_url":"https://api.github.com/repos/SUSE/Portus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SUSE/Portus/statuses/{sha}","languages_url":"https://api.github.com/repos/SUSE/Portus/languages","stargazers_url":"https://api.github.com/repos/SUSE/Portus/stargazers","contributors_url":"https://api.github.com/repos/SUSE/Portus/contributors","subscribers_url":"https://api.github.com/repos/SUSE/Portus/subscribers","subscription_url":"https://api.github.com/repos/SUSE/Portus/subscription","commits_url":"https://api.github.com/repos/SUSE/Portus/commits{/sha}","git_commits_url":"https://api.github.com/repos/SUSE/Portus/git/commits{/sha}","comments_url":"https://api.github.com/repos/SUSE/Portus/comments{/number}","issue_comment_url":"https://api.github.com/repos/SUSE/Portus/issues/comments{/number}","contents_url":"https://api.github.com/repos/SUSE/Portus/contents/{+path}","compare_url":"https://api.github.com/repos/SUSE/Portus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SUSE/Portus/merges","archive_url":"https://api.github.com/repos/SUSE/Portus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SUSE/Portus/downloads","issues_url":"https://api.github.com/repos/SUSE/Portus/issues{/number}","pulls_url":"https://api.github.com/repos/SUSE/Portus/pulls{/number}","milestones_url":"https://api.github.com/repos/SUSE/Portus/milestones{/number}","notifications_url":"https://api.github.com/repos/SUSE/Portus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SUSE/Portus/labels{/name}","releases_url":"https://api.github.com/repos/SUSE/Portus/releases{/id}","created_at":"2015-04-13T12:18:20Z","updated_at":"2015-12-17T01:18:02Z","pushed_at":"2015-12-17T11:49:53Z","git_url":"git://github.com/SUSE/Portus.git","ssh_url":"git@github.com:SUSE/Portus.git","clone_url":"https://github.com/SUSE/Portus.git","svn_url":"https://github.com/SUSE/Portus","homepage":"http://port.us.org/","size":18478,"stargazers_count":493,"watchers_count":493,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":67,"mirror_url":null,"open_issues_count":58,"forks":67,"open_issues":58,"watchers":493,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SUSE/Portus/pulls/636"},"html":{"href":"https://github.com/SUSE/Portus/pull/636"},"issue":{"href":"https://api.github.com/repos/SUSE/Portus/issues/636"},"comments":{"href":"https://api.github.com/repos/SUSE/Portus/issues/636/comments"},"review_comments":{"href":"https://api.github.com/repos/SUSE/Portus/pulls/636/comments"},"review_comment":{"href":"https://api.github.com/repos/SUSE/Portus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SUSE/Portus/pulls/636/commits"},"statuses":{"href":"https://api.github.com/repos/SUSE/Portus/statuses/0fa7c28b6624bb9046ce8650c471f3aee5c50559"}}}}