{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/comments/45149208","id":45149208,"diff_hunk":"@@ -34,22 +34,23 @@ This is provided so that consumers can find the container's configuration and ro\n ```\n \n ## Lifecycle\n-\n-### Create\n-\n-Creates the container: file system, namespaces, cgroups, capabilities.\n-\n-### Start (process)\n-\n-Runs a process in a container.\n-Can be invoked several times.\n-\n-### Stop (process)\n-\n-Not sure we need that from runc cli.\n-Process is killed from the outside.\n-\n-This event needs to be captured by runc to run onstop event handlers.\n+The lifecycle describes the timeline of events that happen from when a container is created to when it ceases to exist.\n+\n+1. OCI compliant runtime is invoked by passing the bundle path as argument.","path":"runtime.md","position":22,"original_position":22,"commit_id":"ec8548953bd052061a9eafa5a943e94b7fd4ad93","original_commit_id":"ec8548953bd052061a9eafa5a943e94b7fd4ad93","user":{"login":"vishh","id":7063592,"avatar_url":"https://avatars.githubusercontent.com/u/7063592?v=3","gravatar_id":"","url":"https://api.github.com/users/vishh","html_url":"https://github.com/vishh","followers_url":"https://api.github.com/users/vishh/followers","following_url":"https://api.github.com/users/vishh/following{/other_user}","gists_url":"https://api.github.com/users/vishh/gists{/gist_id}","starred_url":"https://api.github.com/users/vishh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vishh/subscriptions","organizations_url":"https://api.github.com/users/vishh/orgs","repos_url":"https://api.github.com/users/vishh/repos","events_url":"https://api.github.com/users/vishh/events{/privacy}","received_events_url":"https://api.github.com/users/vishh/received_events","type":"User","site_admin":false},"body":"What is a `runtime`? To me, runtime seems to indicate higher level systems.","created_at":"2015-11-18T01:37:54Z","updated_at":"2015-11-18T01:37:54Z","html_url":"https://github.com/opencontainers/specs/pull/231#discussion_r45149208","pull_request_url":"https://api.github.com/repos/opencontainers/specs/pulls/231","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/comments/45149208"},"html":{"href":"https://github.com/opencontainers/specs/pull/231#discussion_r45149208"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/231"}}},"pull_request":{"url":"https://api.github.com/repos/opencontainers/specs/pulls/231","id":48528129,"html_url":"https://github.com/opencontainers/specs/pull/231","diff_url":"https://github.com/opencontainers/specs/pull/231.diff","patch_url":"https://github.com/opencontainers/specs/pull/231.patch","issue_url":"https://api.github.com/repos/opencontainers/specs/issues/231","number":231,"state":"open","locked":false,"title":"Add lifecycle for containers","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":"The lifecycle described is generic and should apply to all platforms.\r\nIt provides leeway for the runtimes to be flexible in how they\r\nimplement it.\r\n\r\nSigned-off-by: Mrunal Patel <mrunalp@gmail.com>\r\n\r\nThanks to @crosbymichael for the feedback!","created_at":"2015-10-22T23:54:36Z","updated_at":"2015-11-18T01:37:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e444db632c508b1364116f8782b95ec0adb6f18c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/specs/pulls/231/commits","review_comments_url":"https://api.github.com/repos/opencontainers/specs/pulls/231/comments","review_comment_url":"https://api.github.com/repos/opencontainers/specs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/specs/issues/231/comments","statuses_url":"https://api.github.com/repos/opencontainers/specs/statuses/ec8548953bd052061a9eafa5a943e94b7fd4ad93","head":{"label":"mrunalp:lifecycle","ref":"lifecycle","sha":"ec8548953bd052061a9eafa5a943e94b7fd4ad93","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},"repo":{"id":38027472,"name":"specs","full_name":"mrunalp/specs","owner":{"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},"private":false,"html_url":"https://github.com/mrunalp/specs","description":"Open Container Specifications","fork":true,"url":"https://api.github.com/repos/mrunalp/specs","forks_url":"https://api.github.com/repos/mrunalp/specs/forks","keys_url":"https://api.github.com/repos/mrunalp/specs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrunalp/specs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrunalp/specs/teams","hooks_url":"https://api.github.com/repos/mrunalp/specs/hooks","issue_events_url":"https://api.github.com/repos/mrunalp/specs/issues/events{/number}","events_url":"https://api.github.com/repos/mrunalp/specs/events","assignees_url":"https://api.github.com/repos/mrunalp/specs/assignees{/user}","branches_url":"https://api.github.com/repos/mrunalp/specs/branches{/branch}","tags_url":"https://api.github.com/repos/mrunalp/specs/tags","blobs_url":"https://api.github.com/repos/mrunalp/specs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrunalp/specs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrunalp/specs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrunalp/specs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrunalp/specs/statuses/{sha}","languages_url":"https://api.github.com/repos/mrunalp/specs/languages","stargazers_url":"https://api.github.com/repos/mrunalp/specs/stargazers","contributors_url":"https://api.github.com/repos/mrunalp/specs/contributors","subscribers_url":"https://api.github.com/repos/mrunalp/specs/subscribers","subscription_url":"https://api.github.com/repos/mrunalp/specs/subscription","commits_url":"https://api.github.com/repos/mrunalp/specs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrunalp/specs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrunalp/specs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrunalp/specs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mrunalp/specs/contents/{+path}","compare_url":"https://api.github.com/repos/mrunalp/specs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrunalp/specs/merges","archive_url":"https://api.github.com/repos/mrunalp/specs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrunalp/specs/downloads","issues_url":"https://api.github.com/repos/mrunalp/specs/issues{/number}","pulls_url":"https://api.github.com/repos/mrunalp/specs/pulls{/number}","milestones_url":"https://api.github.com/repos/mrunalp/specs/milestones{/number}","notifications_url":"https://api.github.com/repos/mrunalp/specs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrunalp/specs/labels{/name}","releases_url":"https://api.github.com/repos/mrunalp/specs/releases{/id}","created_at":"2015-06-25T04:18:30Z","updated_at":"2015-06-25T03:30:37Z","pushed_at":"2015-11-18T00:32:45Z","git_url":"git://github.com/mrunalp/specs.git","ssh_url":"git@github.com:mrunalp/specs.git","clone_url":"https://github.com/mrunalp/specs.git","svn_url":"https://github.com/mrunalp/specs","homepage":"http://www.opencontainers.org","size":195,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"default_branch":"master"}},"base":{"label":"opencontainers:master","ref":"master","sha":"4066d59d2902b3982860f0442b0b92f40a4d2d6c","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-11-17T21:25:53Z","pushed_at":"2015-11-18T00:32:45Z","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":1515,"stargazers_count":532,"watchers_count":532,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":46,"forks":91,"open_issues":46,"watchers":532,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/231"},"html":{"href":"https://github.com/opencontainers/specs/pull/231"},"issue":{"href":"https://api.github.com/repos/opencontainers/specs/issues/231"},"comments":{"href":"https://api.github.com/repos/opencontainers/specs/issues/231/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/231/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/specs/pulls/231/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/specs/statuses/ec8548953bd052061a9eafa5a943e94b7fd4ad93"}}}}