{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/mtromp/tdd-docker/pulls/2","id":70787525,"html_url":"https://github.com/mtromp/tdd-docker/pull/2","diff_url":"https://github.com/mtromp/tdd-docker/pull/2.diff","patch_url":"https://github.com/mtromp/tdd-docker/pull/2.patch","issue_url":"https://api.github.com/repos/mtromp/tdd-docker/issues/2","number":2,"state":"closed","locked":false,"title":"Add scripts to build image and create container","user":{"login":"mtromp","id":1025920,"avatar_url":"https://avatars.githubusercontent.com/u/1025920?v=3","gravatar_id":"","url":"https://api.github.com/users/mtromp","html_url":"https://github.com/mtromp","followers_url":"https://api.github.com/users/mtromp/followers","following_url":"https://api.github.com/users/mtromp/following{/other_user}","gists_url":"https://api.github.com/users/mtromp/gists{/gist_id}","starred_url":"https://api.github.com/users/mtromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtromp/subscriptions","organizations_url":"https://api.github.com/users/mtromp/orgs","repos_url":"https://api.github.com/users/mtromp/repos","events_url":"https://api.github.com/users/mtromp/events{/privacy}","received_events_url":"https://api.github.com/users/mtromp/received_events","type":"User","site_admin":false},"body":"This is a start for building an image and creating a container. There is an assumption that you can run the docker command without 'sudo'. Try the following on the command line:\r\n\r\ncd /path/to/tdd-docker\r\n./build-image\r\ndocker images   # you should see an image named lamp-docker\r\n./create-container\r\ndocker ps   # you should see a running container\r\n\r\nNow go to a browser and enter the ip address of your docker-machine VM (docker-machine ip default) with :8080 after it. (e.g. http://192.168.99.100:8080) and you should see an apache for ubuntu page.\r\n","created_at":"2016-05-20T00:47:39Z","updated_at":"2016-05-21T00:06:02Z","closed_at":"2016-05-21T00:06:02Z","merged_at":"2016-05-21T00:06:02Z","merge_commit_sha":"c236bead2d1e14aca5dc32c27cfe4cb45ef15065","assignee":{"login":"tyanko1","id":6320890,"avatar_url":"https://avatars.githubusercontent.com/u/6320890?v=3","gravatar_id":"","url":"https://api.github.com/users/tyanko1","html_url":"https://github.com/tyanko1","followers_url":"https://api.github.com/users/tyanko1/followers","following_url":"https://api.github.com/users/tyanko1/following{/other_user}","gists_url":"https://api.github.com/users/tyanko1/gists{/gist_id}","starred_url":"https://api.github.com/users/tyanko1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyanko1/subscriptions","organizations_url":"https://api.github.com/users/tyanko1/orgs","repos_url":"https://api.github.com/users/tyanko1/repos","events_url":"https://api.github.com/users/tyanko1/events{/privacy}","received_events_url":"https://api.github.com/users/tyanko1/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mtromp/tdd-docker/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mtromp/tdd-docker/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mtromp/tdd-docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtromp/tdd-docker/issues/2/comments","statuses_url":"https://api.github.com/repos/mtromp/tdd-docker/statuses/e795495c111c03f895a452638152cbebf8beecc0","head":{"label":"mtromp:AddScripts","ref":"AddScripts","sha":"e795495c111c03f895a452638152cbebf8beecc0","user":{"login":"mtromp","id":1025920,"avatar_url":"https://avatars.githubusercontent.com/u/1025920?v=3","gravatar_id":"","url":"https://api.github.com/users/mtromp","html_url":"https://github.com/mtromp","followers_url":"https://api.github.com/users/mtromp/followers","following_url":"https://api.github.com/users/mtromp/following{/other_user}","gists_url":"https://api.github.com/users/mtromp/gists{/gist_id}","starred_url":"https://api.github.com/users/mtromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtromp/subscriptions","organizations_url":"https://api.github.com/users/mtromp/orgs","repos_url":"https://api.github.com/users/mtromp/repos","events_url":"https://api.github.com/users/mtromp/events{/privacy}","received_events_url":"https://api.github.com/users/mtromp/received_events","type":"User","site_admin":false},"repo":{"id":58594286,"name":"tdd-docker","full_name":"mtromp/tdd-docker","owner":{"login":"mtromp","id":1025920,"avatar_url":"https://avatars.githubusercontent.com/u/1025920?v=3","gravatar_id":"","url":"https://api.github.com/users/mtromp","html_url":"https://github.com/mtromp","followers_url":"https://api.github.com/users/mtromp/followers","following_url":"https://api.github.com/users/mtromp/following{/other_user}","gists_url":"https://api.github.com/users/mtromp/gists{/gist_id}","starred_url":"https://api.github.com/users/mtromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtromp/subscriptions","organizations_url":"https://api.github.com/users/mtromp/orgs","repos_url":"https://api.github.com/users/mtromp/repos","events_url":"https://api.github.com/users/mtromp/events{/privacy}","received_events_url":"https://api.github.com/users/mtromp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtromp/tdd-docker","description":"","fork":false,"url":"https://api.github.com/repos/mtromp/tdd-docker","forks_url":"https://api.github.com/repos/mtromp/tdd-docker/forks","keys_url":"https://api.github.com/repos/mtromp/tdd-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtromp/tdd-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtromp/tdd-docker/teams","hooks_url":"https://api.github.com/repos/mtromp/tdd-docker/hooks","issue_events_url":"https://api.github.com/repos/mtromp/tdd-docker/issues/events{/number}","events_url":"https://api.github.com/repos/mtromp/tdd-docker/events","assignees_url":"https://api.github.com/repos/mtromp/tdd-docker/assignees{/user}","branches_url":"https://api.github.com/repos/mtromp/tdd-docker/branches{/branch}","tags_url":"https://api.github.com/repos/mtromp/tdd-docker/tags","blobs_url":"https://api.github.com/repos/mtromp/tdd-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtromp/tdd-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtromp/tdd-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtromp/tdd-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtromp/tdd-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/mtromp/tdd-docker/languages","stargazers_url":"https://api.github.com/repos/mtromp/tdd-docker/stargazers","contributors_url":"https://api.github.com/repos/mtromp/tdd-docker/contributors","subscribers_url":"https://api.github.com/repos/mtromp/tdd-docker/subscribers","subscription_url":"https://api.github.com/repos/mtromp/tdd-docker/subscription","commits_url":"https://api.github.com/repos/mtromp/tdd-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtromp/tdd-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtromp/tdd-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtromp/tdd-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtromp/tdd-docker/contents/{+path}","compare_url":"https://api.github.com/repos/mtromp/tdd-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtromp/tdd-docker/merges","archive_url":"https://api.github.com/repos/mtromp/tdd-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtromp/tdd-docker/downloads","issues_url":"https://api.github.com/repos/mtromp/tdd-docker/issues{/number}","pulls_url":"https://api.github.com/repos/mtromp/tdd-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/mtromp/tdd-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/mtromp/tdd-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtromp/tdd-docker/labels{/name}","releases_url":"https://api.github.com/repos/mtromp/tdd-docker/releases{/id}","deployments_url":"https://api.github.com/repos/mtromp/tdd-docker/deployments","created_at":"2016-05-12T00:44:10Z","updated_at":"2016-05-14T15:00:10Z","pushed_at":"2016-05-21T00:06:02Z","git_url":"git://github.com/mtromp/tdd-docker.git","ssh_url":"git@github.com:mtromp/tdd-docker.git","clone_url":"https://github.com/mtromp/tdd-docker.git","svn_url":"https://github.com/mtromp/tdd-docker","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mtromp:master","ref":"master","sha":"62101f18ad0afc983c6c1a69b3c094487b467073","user":{"login":"mtromp","id":1025920,"avatar_url":"https://avatars.githubusercontent.com/u/1025920?v=3","gravatar_id":"","url":"https://api.github.com/users/mtromp","html_url":"https://github.com/mtromp","followers_url":"https://api.github.com/users/mtromp/followers","following_url":"https://api.github.com/users/mtromp/following{/other_user}","gists_url":"https://api.github.com/users/mtromp/gists{/gist_id}","starred_url":"https://api.github.com/users/mtromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtromp/subscriptions","organizations_url":"https://api.github.com/users/mtromp/orgs","repos_url":"https://api.github.com/users/mtromp/repos","events_url":"https://api.github.com/users/mtromp/events{/privacy}","received_events_url":"https://api.github.com/users/mtromp/received_events","type":"User","site_admin":false},"repo":{"id":58594286,"name":"tdd-docker","full_name":"mtromp/tdd-docker","owner":{"login":"mtromp","id":1025920,"avatar_url":"https://avatars.githubusercontent.com/u/1025920?v=3","gravatar_id":"","url":"https://api.github.com/users/mtromp","html_url":"https://github.com/mtromp","followers_url":"https://api.github.com/users/mtromp/followers","following_url":"https://api.github.com/users/mtromp/following{/other_user}","gists_url":"https://api.github.com/users/mtromp/gists{/gist_id}","starred_url":"https://api.github.com/users/mtromp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtromp/subscriptions","organizations_url":"https://api.github.com/users/mtromp/orgs","repos_url":"https://api.github.com/users/mtromp/repos","events_url":"https://api.github.com/users/mtromp/events{/privacy}","received_events_url":"https://api.github.com/users/mtromp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtromp/tdd-docker","description":"","fork":false,"url":"https://api.github.com/repos/mtromp/tdd-docker","forks_url":"https://api.github.com/repos/mtromp/tdd-docker/forks","keys_url":"https://api.github.com/repos/mtromp/tdd-docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtromp/tdd-docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtromp/tdd-docker/teams","hooks_url":"https://api.github.com/repos/mtromp/tdd-docker/hooks","issue_events_url":"https://api.github.com/repos/mtromp/tdd-docker/issues/events{/number}","events_url":"https://api.github.com/repos/mtromp/tdd-docker/events","assignees_url":"https://api.github.com/repos/mtromp/tdd-docker/assignees{/user}","branches_url":"https://api.github.com/repos/mtromp/tdd-docker/branches{/branch}","tags_url":"https://api.github.com/repos/mtromp/tdd-docker/tags","blobs_url":"https://api.github.com/repos/mtromp/tdd-docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtromp/tdd-docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtromp/tdd-docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtromp/tdd-docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtromp/tdd-docker/statuses/{sha}","languages_url":"https://api.github.com/repos/mtromp/tdd-docker/languages","stargazers_url":"https://api.github.com/repos/mtromp/tdd-docker/stargazers","contributors_url":"https://api.github.com/repos/mtromp/tdd-docker/contributors","subscribers_url":"https://api.github.com/repos/mtromp/tdd-docker/subscribers","subscription_url":"https://api.github.com/repos/mtromp/tdd-docker/subscription","commits_url":"https://api.github.com/repos/mtromp/tdd-docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtromp/tdd-docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtromp/tdd-docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtromp/tdd-docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtromp/tdd-docker/contents/{+path}","compare_url":"https://api.github.com/repos/mtromp/tdd-docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtromp/tdd-docker/merges","archive_url":"https://api.github.com/repos/mtromp/tdd-docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtromp/tdd-docker/downloads","issues_url":"https://api.github.com/repos/mtromp/tdd-docker/issues{/number}","pulls_url":"https://api.github.com/repos/mtromp/tdd-docker/pulls{/number}","milestones_url":"https://api.github.com/repos/mtromp/tdd-docker/milestones{/number}","notifications_url":"https://api.github.com/repos/mtromp/tdd-docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtromp/tdd-docker/labels{/name}","releases_url":"https://api.github.com/repos/mtromp/tdd-docker/releases{/id}","deployments_url":"https://api.github.com/repos/mtromp/tdd-docker/deployments","created_at":"2016-05-12T00:44:10Z","updated_at":"2016-05-14T15:00:10Z","pushed_at":"2016-05-21T00:06:02Z","git_url":"git://github.com/mtromp/tdd-docker.git","ssh_url":"git@github.com:mtromp/tdd-docker.git","clone_url":"https://github.com/mtromp/tdd-docker.git","svn_url":"https://github.com/mtromp/tdd-docker","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtromp/tdd-docker/pulls/2"},"html":{"href":"https://github.com/mtromp/tdd-docker/pull/2"},"issue":{"href":"https://api.github.com/repos/mtromp/tdd-docker/issues/2"},"comments":{"href":"https://api.github.com/repos/mtromp/tdd-docker/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mtromp/tdd-docker/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mtromp/tdd-docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtromp/tdd-docker/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mtromp/tdd-docker/statuses/e795495c111c03f895a452638152cbebf8beecc0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"tyanko1","id":6320890,"avatar_url":"https://avatars.githubusercontent.com/u/6320890?v=3","gravatar_id":"","url":"https://api.github.com/users/tyanko1","html_url":"https://github.com/tyanko1","followers_url":"https://api.github.com/users/tyanko1/followers","following_url":"https://api.github.com/users/tyanko1/following{/other_user}","gists_url":"https://api.github.com/users/tyanko1/gists{/gist_id}","starred_url":"https://api.github.com/users/tyanko1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyanko1/subscriptions","organizations_url":"https://api.github.com/users/tyanko1/orgs","repos_url":"https://api.github.com/users/tyanko1/repos","events_url":"https://api.github.com/users/tyanko1/events{/privacy}","received_events_url":"https://api.github.com/users/tyanko1/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"tyanko1"}}