{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/comments/40836127","id":40836127,"diff_hunk":"@@ -29,24 +29,59 @@ The root directory to the bundle is provided in the state so that consumers can\n }\n ```\n \n-## Lifecycle\n+## Typical lifecycle\n+\n+A typical lifecyle progresses like this:\n+\n+1. There is no container or running application\n+2. A user tells the runtime to start a container+application","path":"runtime.md","position":10,"original_position":10,"commit_id":"3c2d3cc71532aaeedd415a916c708aeb7bf8d391","original_commit_id":"3c2d3cc71532aaeedd415a916c708aeb7bf8d391","user":{"login":"mrunalp","id":53798,"avatar_url":"https://avatars.githubusercontent.com/u/53798?v=3","gravatar_id":"","url":"https://api.github.com/users/mrunalp","html_url":"https://github.com/mrunalp","followers_url":"https://api.github.com/users/mrunalp/followers","following_url":"https://api.github.com/users/mrunalp/following{/other_user}","gists_url":"https://api.github.com/users/mrunalp/gists{/gist_id}","starred_url":"https://api.github.com/users/mrunalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrunalp/subscriptions","organizations_url":"https://api.github.com/users/mrunalp/orgs","repos_url":"https://api.github.com/users/mrunalp/repos","events_url":"https://api.github.com/users/mrunalp/events{/privacy}","received_events_url":"https://api.github.com/users/mrunalp/received_events","type":"User","site_admin":false},"body":"Yeah, I think it makes sense to leave out application altogether.","created_at":"2015-09-30T18:58:56Z","updated_at":"2015-09-30T18:58:56Z","html_url":"https://github.com/opencontainers/specs/pull/207#discussion_r40836127","pull_request_url":"https://api.github.com/repos/opencontainers/specs/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/comments/40836127"},"html":{"href":"https://github.com/opencontainers/specs/pull/207#discussion_r40836127"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/207","id":46440786,"html_url":"https://github.com/opencontainers/specs/pull/207","diff_url":"https://github.com/opencontainers/specs/pull/207.diff","patch_url":"https://github.com/opencontainers/specs/pull/207.patch","issue_url":"https://api.github.com/repos/opencontainers/specs/issues/207","number":207,"state":"open","locked":false,"title":"runtime: Add more steps to the lifecycle docs","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"body":"And explain how the handling differs when an application joins an\nexisting container vs. creating a new container.  This is spun off\nfrom the [mailing list thread][1] now that that's settled down.\n\nThis write-up is just about Linux containers, since I don't understand\nthe other systems well enough to do them justice.  I'm happy to roll\nin notes for other platforms if folks know what to write ;).\n\nI've pulled the hook-environment change I made in [this post][2] out\ninto a separate commit, and I'm happy to push that as a separate PR if\nit makes review easier.\n\n[1]: https://groups.google.com/a/opencontainers.org/forum/#!topic/dev/frUXLljXy8Y\n[2]: https://groups.google.com/a/opencontainers.org/d/msg/dev/frUXLljXy8Y/_sg-BidnAwAJ","created_at":"2015-09-30T18:48:53Z","updated_at":"2015-09-30T18:58:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c6ddba626d4cdc79b31e6337f0c30716fad2057","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/specs/pulls/207/commits","review_comments_url":"https://api.github.com/repos/opencontainers/specs/pulls/207/comments","review_comment_url":"https://api.github.com/repos/opencontainers/specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/specs/issues/207/comments","statuses_url":"https://api.github.com/repos/opencontainers/specs/statuses/3c2d3cc71532aaeedd415a916c708aeb7bf8d391","head":{"label":"wking:lifecycle","ref":"lifecycle","sha":"3c2d3cc71532aaeedd415a916c708aeb7bf8d391","user":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"repo":{"id":38028795,"name":"opencontainer-specs","full_name":"wking/opencontainer-specs","owner":{"login":"wking","id":209920,"avatar_url":"https://avatars.githubusercontent.com/u/209920?v=3","gravatar_id":"","url":"https://api.github.com/users/wking","html_url":"https://github.com/wking","followers_url":"https://api.github.com/users/wking/followers","following_url":"https://api.github.com/users/wking/following{/other_user}","gists_url":"https://api.github.com/users/wking/gists{/gist_id}","starred_url":"https://api.github.com/users/wking/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wking/subscriptions","organizations_url":"https://api.github.com/users/wking/orgs","repos_url":"https://api.github.com/users/wking/repos","events_url":"https://api.github.com/users/wking/events{/privacy}","received_events_url":"https://api.github.com/users/wking/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wking/opencontainer-specs","description":"Open Container Specifications","fork":true,"url":"https://api.github.com/repos/wking/opencontainer-specs","forks_url":"https://api.github.com/repos/wking/opencontainer-specs/forks","keys_url":"https://api.github.com/repos/wking/opencontainer-specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wking/opencontainer-specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wking/opencontainer-specs/teams","hooks_url":"https://api.github.com/repos/wking/opencontainer-specs/hooks","issue_events_url":"https://api.github.com/repos/wking/opencontainer-specs/issues/events{/number}","events_url":"https://api.github.com/repos/wking/opencontainer-specs/events","assignees_url":"https://api.github.com/repos/wking/opencontainer-specs/assignees{/user}","branches_url":"https://api.github.com/repos/wking/opencontainer-specs/branches{/branch}","tags_url":"https://api.github.com/repos/wking/opencontainer-specs/tags","blobs_url":"https://api.github.com/repos/wking/opencontainer-specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wking/opencontainer-specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wking/opencontainer-specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/wking/opencontainer-specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wking/opencontainer-specs/statuses/{sha}","languages_url":"https://api.github.com/repos/wking/opencontainer-specs/languages","stargazers_url":"https://api.github.com/repos/wking/opencontainer-specs/stargazers","contributors_url":"https://api.github.com/repos/wking/opencontainer-specs/contributors","subscribers_url":"https://api.github.com/repos/wking/opencontainer-specs/subscribers","subscription_url":"https://api.github.com/repos/wking/opencontainer-specs/subscription","commits_url":"https://api.github.com/repos/wking/opencontainer-specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/wking/opencontainer-specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/wking/opencontainer-specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/wking/opencontainer-specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/wking/opencontainer-specs/contents/{+path}","compare_url":"https://api.github.com/repos/wking/opencontainer-specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wking/opencontainer-specs/merges","archive_url":"https://api.github.com/repos/wking/opencontainer-specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wking/opencontainer-specs/downloads","issues_url":"https://api.github.com/repos/wking/opencontainer-specs/issues{/number}","pulls_url":"https://api.github.com/repos/wking/opencontainer-specs/pulls{/number}","milestones_url":"https://api.github.com/repos/wking/opencontainer-specs/milestones{/number}","notifications_url":"https://api.github.com/repos/wking/opencontainer-specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wking/opencontainer-specs/labels{/name}","releases_url":"https://api.github.com/repos/wking/opencontainer-specs/releases{/id}","created_at":"2015-06-25T04:59:11Z","updated_at":"2015-07-08T05:08:15Z","pushed_at":"2015-09-30T18:46:15Z","git_url":"git://github.com/wking/opencontainer-specs.git","ssh_url":"git@github.com:wking/opencontainer-specs.git","clone_url":"https://github.com/wking/opencontainer-specs.git","svn_url":"https://github.com/wking/opencontainer-specs","homepage":"http://www.opencontainers.org","size":568,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":false,"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":1,"default_branch":"master"}},"base":{"label":"opencontainers:master","ref":"master","sha":"2078b319c895fdd88e838361c8234de95e423b00","user":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"repo":{"id":36960293,"name":"specs","full_name":"opencontainers/specs","owner":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencontainers/specs","description":"Open Container Specifications","fork":false,"url":"https://api.github.com/repos/opencontainers/specs","forks_url":"https://api.github.com/repos/opencontainers/specs/forks","keys_url":"https://api.github.com/repos/opencontainers/specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/specs/teams","hooks_url":"https://api.github.com/repos/opencontainers/specs/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/specs/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/specs/events","assignees_url":"https://api.github.com/repos/opencontainers/specs/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/specs/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/specs/tags","blobs_url":"https://api.github.com/repos/opencontainers/specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/specs/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/specs/languages","stargazers_url":"https://api.github.com/repos/opencontainers/specs/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/specs/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/specs/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/specs/subscription","commits_url":"https://api.github.com/repos/opencontainers/specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/specs/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/specs/merges","archive_url":"https://api.github.com/repos/opencontainers/specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/specs/downloads","issues_url":"https://api.github.com/repos/opencontainers/specs/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/specs/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/specs/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/specs/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/specs/releases{/id}","created_at":"2015-06-05T23:30:10Z","updated_at":"2015-09-30T16:02:18Z","pushed_at":"2015-09-30T18:48:53Z","git_url":"git://github.com/opencontainers/specs.git","ssh_url":"git@github.com:opencontainers/specs.git","clone_url":"https://github.com/opencontainers/specs.git","svn_url":"https://github.com/opencontainers/specs","homepage":"http://www.opencontainers.org","size":1710,"stargazers_count":457,"watchers_count":457,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":43,"forks":72,"open_issues":43,"watchers":457,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/207"},"html":{"href":"https://github.com/opencontainers/specs/pull/207"},"issue":{"href":"https://api.github.com/repos/opencontainers/specs/issues/207"},"comments":{"href":"https://api.github.com/repos/opencontainers/specs/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/specs/statuses/3c2d3cc71532aaeedd415a916c708aeb7bf8d391"}}}}