{"action":"created","comment":{"url":"https://api.github.com/repos/docker/compose/pulls/comments/41039904","id":41039904,"diff_hunk":"@@ -0,0 +1,48 @@\n+#!/bin/bash\n+#\n+# Run docker-compose in a container\n+#\n+# This script will attempt to mirror the host paths by using volumes for the\n+# following paths:\n+#   * $(pwd)\n+#   * $(dirname $COMPOSE_FILE) if it's set\n+#   * $HOME if it's set\n+#\n+# You can add additional volumes (or any docker run options) using\n+# the $COMPOSE_OPTIONS environment variable.\n+#\n+\n+\n+set -e\n+\n+VERSION=\"1.4.0dev\"\n+# TODO: move this to an official repo\n+IMAGE=\"dnephin/docker-compose:$VERSION\"","path":"script/run","position":20,"original_position":20,"commit_id":"39cea970b8d161ce6986d5ad2f14b63cb3ff3094","original_commit_id":"39cea970b8d161ce6986d5ad2f14b63cb3ff3094","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"body":"I'll open an issue to get this image published to a better repo, and add notes to the release process doc about updating it on release.","created_at":"2015-10-02T16:26:46Z","updated_at":"2015-10-02T16:26:46Z","html_url":"https://github.com/docker/compose/pull/1806#discussion_r41039904","pull_request_url":"https://api.github.com/repos/docker/compose/pulls/1806","_links":{"self":{"href":"https://api.github.com/repos/docker/compose/pulls/comments/41039904"},"html":{"href":"https://github.com/docker/compose/pull/1806#discussion_r41039904"},"pull_request":{"href":"https://api.github.com/repos/docker/compose/pulls/1806"}}},"pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/1806","id":41517925,"html_url":"https://github.com/docker/compose/pull/1806","diff_url":"https://github.com/docker/compose/pull/1806.diff","patch_url":"https://github.com/docker/compose/pull/1806.patch","issue_url":"https://api.github.com/repos/docker/compose/issues/1806","number":1806,"state":"closed","locked":false,"title":"Docker image and bash script for running compose in a container","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"body":"Resolves #169\r\nResolves #1662\r\n\r\nThe image is ~50Mb.\r\n\r\nThoughts? ","created_at":"2015-08-03T22:43:39Z","updated_at":"2015-10-02T16:26:46Z","closed_at":"2015-10-02T16:12:26Z","merged_at":"2015-10-02T16:12:26Z","merge_commit_sha":"c3dc4c2aeb6fb5039aed801f5933ef69340a1833","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/docker/compose/pulls/1806/commits","review_comments_url":"https://api.github.com/repos/docker/compose/pulls/1806/comments","review_comment_url":"https://api.github.com/repos/docker/compose/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/compose/issues/1806/comments","statuses_url":"https://api.github.com/repos/docker/compose/statuses/39cea970b8d161ce6986d5ad2f14b63cb3ff3094","head":{"label":"dnephin:run_script","ref":"run_script","sha":"39cea970b8d161ce6986d5ad2f14b63cb3ff3094","user":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"repo":{"id":21770699,"name":"compose","full_name":"dnephin/compose","owner":{"login":"dnephin","id":442180,"avatar_url":"https://avatars.githubusercontent.com/u/442180?v=3","gravatar_id":"","url":"https://api.github.com/users/dnephin","html_url":"https://github.com/dnephin","followers_url":"https://api.github.com/users/dnephin/followers","following_url":"https://api.github.com/users/dnephin/following{/other_user}","gists_url":"https://api.github.com/users/dnephin/gists{/gist_id}","starred_url":"https://api.github.com/users/dnephin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnephin/subscriptions","organizations_url":"https://api.github.com/users/dnephin/orgs","repos_url":"https://api.github.com/users/dnephin/repos","events_url":"https://api.github.com/users/dnephin/events{/privacy}","received_events_url":"https://api.github.com/users/dnephin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dnephin/compose","description":"A fork","fork":true,"url":"https://api.github.com/repos/dnephin/compose","forks_url":"https://api.github.com/repos/dnephin/compose/forks","keys_url":"https://api.github.com/repos/dnephin/compose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dnephin/compose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dnephin/compose/teams","hooks_url":"https://api.github.com/repos/dnephin/compose/hooks","issue_events_url":"https://api.github.com/repos/dnephin/compose/issues/events{/number}","events_url":"https://api.github.com/repos/dnephin/compose/events","assignees_url":"https://api.github.com/repos/dnephin/compose/assignees{/user}","branches_url":"https://api.github.com/repos/dnephin/compose/branches{/branch}","tags_url":"https://api.github.com/repos/dnephin/compose/tags","blobs_url":"https://api.github.com/repos/dnephin/compose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dnephin/compose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dnephin/compose/git/refs{/sha}","trees_url":"https://api.github.com/repos/dnephin/compose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dnephin/compose/statuses/{sha}","languages_url":"https://api.github.com/repos/dnephin/compose/languages","stargazers_url":"https://api.github.com/repos/dnephin/compose/stargazers","contributors_url":"https://api.github.com/repos/dnephin/compose/contributors","subscribers_url":"https://api.github.com/repos/dnephin/compose/subscribers","subscription_url":"https://api.github.com/repos/dnephin/compose/subscription","commits_url":"https://api.github.com/repos/dnephin/compose/commits{/sha}","git_commits_url":"https://api.github.com/repos/dnephin/compose/git/commits{/sha}","comments_url":"https://api.github.com/repos/dnephin/compose/comments{/number}","issue_comment_url":"https://api.github.com/repos/dnephin/compose/issues/comments{/number}","contents_url":"https://api.github.com/repos/dnephin/compose/contents/{+path}","compare_url":"https://api.github.com/repos/dnephin/compose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dnephin/compose/merges","archive_url":"https://api.github.com/repos/dnephin/compose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dnephin/compose/downloads","issues_url":"https://api.github.com/repos/dnephin/compose/issues{/number}","pulls_url":"https://api.github.com/repos/dnephin/compose/pulls{/number}","milestones_url":"https://api.github.com/repos/dnephin/compose/milestones{/number}","notifications_url":"https://api.github.com/repos/dnephin/compose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dnephin/compose/labels{/name}","releases_url":"https://api.github.com/repos/dnephin/compose/releases{/id}","created_at":"2014-07-12T16:01:06Z","updated_at":"2015-08-03T19:11:32Z","pushed_at":"2015-10-02T16:25:45Z","git_url":"git://github.com/dnephin/compose.git","ssh_url":"git@github.com:dnephin/compose.git","clone_url":"https://github.com/dnephin/compose.git","svn_url":"https://github.com/dnephin/compose","homepage":"","size":4024,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":0,"forks":5,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"docker:master","ref":"master","sha":"6c886408870593cfce4f7f12fb4937ad69350b67","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":15045751,"name":"compose","full_name":"docker/compose","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/compose","description":"Define and run multi-container applications with Docker","fork":false,"url":"https://api.github.com/repos/docker/compose","forks_url":"https://api.github.com/repos/docker/compose/forks","keys_url":"https://api.github.com/repos/docker/compose/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/compose/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/compose/teams","hooks_url":"https://api.github.com/repos/docker/compose/hooks","issue_events_url":"https://api.github.com/repos/docker/compose/issues/events{/number}","events_url":"https://api.github.com/repos/docker/compose/events","assignees_url":"https://api.github.com/repos/docker/compose/assignees{/user}","branches_url":"https://api.github.com/repos/docker/compose/branches{/branch}","tags_url":"https://api.github.com/repos/docker/compose/tags","blobs_url":"https://api.github.com/repos/docker/compose/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/compose/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/compose/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/compose/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/compose/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/compose/languages","stargazers_url":"https://api.github.com/repos/docker/compose/stargazers","contributors_url":"https://api.github.com/repos/docker/compose/contributors","subscribers_url":"https://api.github.com/repos/docker/compose/subscribers","subscription_url":"https://api.github.com/repos/docker/compose/subscription","commits_url":"https://api.github.com/repos/docker/compose/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/compose/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/compose/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/compose/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/compose/contents/{+path}","compare_url":"https://api.github.com/repos/docker/compose/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/compose/merges","archive_url":"https://api.github.com/repos/docker/compose/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/compose/downloads","issues_url":"https://api.github.com/repos/docker/compose/issues{/number}","pulls_url":"https://api.github.com/repos/docker/compose/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/compose/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/compose/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/compose/labels{/name}","releases_url":"https://api.github.com/repos/docker/compose/releases{/id}","created_at":"2013-12-09T11:40:58Z","updated_at":"2015-10-02T15:51:28Z","pushed_at":"2015-10-02T16:12:26Z","git_url":"git://github.com/docker/compose.git","ssh_url":"git@github.com:docker/compose.git","clone_url":"https://github.com/docker/compose.git","svn_url":"https://github.com/docker/compose","homepage":"https://docs.docker.com/compose/","size":74480,"stargazers_count":6352,"watchers_count":6352,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":794,"mirror_url":null,"open_issues_count":349,"forks":794,"open_issues":349,"watchers":6352,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/compose/pulls/1806"},"html":{"href":"https://github.com/docker/compose/pull/1806"},"issue":{"href":"https://api.github.com/repos/docker/compose/issues/1806"},"comments":{"href":"https://api.github.com/repos/docker/compose/issues/1806/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/compose/pulls/1806/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/compose/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/compose/pulls/1806/commits"},"statuses":{"href":"https://api.github.com/repos/docker/compose/statuses/39cea970b8d161ce6986d5ad2f14b63cb3ff3094"}}}}