{"action":"created","comment":{"url":"https://api.github.com/repos/kata-containers/documentation/pulls/comments/171260683","pull_request_review_id":100081071,"id":171260683,"diff_hunk":"@@ -0,0 +1,73 @@\n+# Working Scenarios of Kata Container\n+\n+- [CRI](#cri)\n+- [OCI based CRI Runtimes](#oci-based-cri-runtimes)\n+  - [PodSandbox in OCI based runtimes](#podsandbox-in-oci-based-runtimes)\n+  - [Typical working pattern of CRI runtimes](#typical-working-pattern-of-cri-runtimes)\n+- [Frakti CRI Runtime](#frakti-cri-runtime)\n+  - [The APIs Frakti rely on](#the-apis-frakti-rely-on)\n+  - [Working pattern of Frakti](#working-pattern-of-frakti)\n+- [Working with Docker](#working-with-docker)\n+\n+## CRI\n+\n+The operations defined in CRI RuntimeService are quite straightforward. There are two parts (as shown in the figure): PodSandbox operations and Container Operations.\n+\n+![The CRI RuntimeService](cri-runtime-service.png)\n+\n+The CRI clients simply call PodSandbox Run to start a sandbox (Pod), and Create / Start / Stop / Remove containers inside it. The life cycle of containers are inside a sandbox life cycle.\n+\n+For kata container, the sandbox are implemented with a virtual machine (agent is its delegator), and the containers are created with OCI spec by the agent.","path":"design/scenarios.md","position":20,"original_position":20,"commit_id":"e348f550f557d5c1d5b1a9c1b84919fbd91d7174","original_commit_id":"e348f550f557d5c1d5b1a9c1b84919fbd91d7174","user":{"login":"jodh-intel","id":20315601,"avatar_url":"https://avatars1.githubusercontent.com/u/20315601?v=4","gravatar_id":"","url":"https://api.github.com/users/jodh-intel","html_url":"https://github.com/jodh-intel","followers_url":"https://api.github.com/users/jodh-intel/followers","following_url":"https://api.github.com/users/jodh-intel/following{/other_user}","gists_url":"https://api.github.com/users/jodh-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/jodh-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodh-intel/subscriptions","organizations_url":"https://api.github.com/users/jodh-intel/orgs","repos_url":"https://api.github.com/users/jodh-intel/repos","events_url":"https://api.github.com/users/jodh-intel/events{/privacy}","received_events_url":"https://api.github.com/users/jodh-intel/received_events","type":"User","site_admin":false},"body":"s/kata container/Kata Containers/.","created_at":"2018-02-28T14:27:39Z","updated_at":"2018-02-28T14:30:07Z","html_url":"https://github.com/kata-containers/documentation/pull/16#discussion_r171260683","pull_request_url":"https://api.github.com/repos/kata-containers/documentation/pulls/16","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kata-containers/documentation/pulls/comments/171260683"},"html":{"href":"https://github.com/kata-containers/documentation/pull/16#discussion_r171260683"},"pull_request":{"href":"https://api.github.com/repos/kata-containers/documentation/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/kata-containers/documentation/pulls/16","id":171336397,"html_url":"https://github.com/kata-containers/documentation/pull/16","diff_url":"https://github.com/kata-containers/documentation/pull/16.diff","patch_url":"https://github.com/kata-containers/documentation/pull/16.patch","issue_url":"https://api.github.com/repos/kata-containers/documentation/issues/16","number":16,"state":"open","locked":false,"title":"working scenarios of kata containers","user":{"login":"gnawux","id":54124,"avatar_url":"https://avatars0.githubusercontent.com/u/54124?v=4","gravatar_id":"","url":"https://api.github.com/users/gnawux","html_url":"https://github.com/gnawux","followers_url":"https://api.github.com/users/gnawux/followers","following_url":"https://api.github.com/users/gnawux/following{/other_user}","gists_url":"https://api.github.com/users/gnawux/gists{/gist_id}","starred_url":"https://api.github.com/users/gnawux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnawux/subscriptions","organizations_url":"https://api.github.com/users/gnawux/orgs","repos_url":"https://api.github.com/users/gnawux/repos","events_url":"https://api.github.com/users/gnawux/events{/privacy}","received_events_url":"https://api.github.com/users/gnawux/received_events","type":"User","site_admin":false},"body":"Fixes #15\r\n\r\nThe working scenarios are discussed in kata-containers/runtime#31 as part of the design requirement of Kata Containers.\r\n\r\nPlease consider reviewing this after #14 is reviewed and merged.","created_at":"2018-02-26T10:34:57Z","updated_at":"2018-02-28T14:30:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a040bff23f049ae826e3981de25d63ab2c1c74fc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":848809286,"url":"https://api.github.com/repos/kata-containers/documentation/labels/review","name":"review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kata-containers/documentation/pulls/16/commits","review_comments_url":"https://api.github.com/repos/kata-containers/documentation/pulls/16/comments","review_comment_url":"https://api.github.com/repos/kata-containers/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kata-containers/documentation/issues/16/comments","statuses_url":"https://api.github.com/repos/kata-containers/documentation/statuses/e348f550f557d5c1d5b1a9c1b84919fbd91d7174","head":{"label":"gnawux:scenarios","ref":"scenarios","sha":"e348f550f557d5c1d5b1a9c1b84919fbd91d7174","user":{"login":"gnawux","id":54124,"avatar_url":"https://avatars0.githubusercontent.com/u/54124?v=4","gravatar_id":"","url":"https://api.github.com/users/gnawux","html_url":"https://github.com/gnawux","followers_url":"https://api.github.com/users/gnawux/followers","following_url":"https://api.github.com/users/gnawux/following{/other_user}","gists_url":"https://api.github.com/users/gnawux/gists{/gist_id}","starred_url":"https://api.github.com/users/gnawux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnawux/subscriptions","organizations_url":"https://api.github.com/users/gnawux/orgs","repos_url":"https://api.github.com/users/gnawux/repos","events_url":"https://api.github.com/users/gnawux/events{/privacy}","received_events_url":"https://api.github.com/users/gnawux/received_events","type":"User","site_admin":false},"repo":{"id":122932796,"name":"kata-documentation","full_name":"gnawux/kata-documentation","owner":{"login":"gnawux","id":54124,"avatar_url":"https://avatars0.githubusercontent.com/u/54124?v=4","gravatar_id":"","url":"https://api.github.com/users/gnawux","html_url":"https://github.com/gnawux","followers_url":"https://api.github.com/users/gnawux/followers","following_url":"https://api.github.com/users/gnawux/following{/other_user}","gists_url":"https://api.github.com/users/gnawux/gists{/gist_id}","starred_url":"https://api.github.com/users/gnawux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnawux/subscriptions","organizations_url":"https://api.github.com/users/gnawux/orgs","repos_url":"https://api.github.com/users/gnawux/repos","events_url":"https://api.github.com/users/gnawux/events{/privacy}","received_events_url":"https://api.github.com/users/gnawux/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gnawux/kata-documentation","description":"Kata Containers documentation","fork":true,"url":"https://api.github.com/repos/gnawux/kata-documentation","forks_url":"https://api.github.com/repos/gnawux/kata-documentation/forks","keys_url":"https://api.github.com/repos/gnawux/kata-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnawux/kata-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnawux/kata-documentation/teams","hooks_url":"https://api.github.com/repos/gnawux/kata-documentation/hooks","issue_events_url":"https://api.github.com/repos/gnawux/kata-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/gnawux/kata-documentation/events","assignees_url":"https://api.github.com/repos/gnawux/kata-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/gnawux/kata-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/gnawux/kata-documentation/tags","blobs_url":"https://api.github.com/repos/gnawux/kata-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnawux/kata-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnawux/kata-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnawux/kata-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnawux/kata-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/gnawux/kata-documentation/languages","stargazers_url":"https://api.github.com/repos/gnawux/kata-documentation/stargazers","contributors_url":"https://api.github.com/repos/gnawux/kata-documentation/contributors","subscribers_url":"https://api.github.com/repos/gnawux/kata-documentation/subscribers","subscription_url":"https://api.github.com/repos/gnawux/kata-documentation/subscription","commits_url":"https://api.github.com/repos/gnawux/kata-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnawux/kata-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnawux/kata-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnawux/kata-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnawux/kata-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/gnawux/kata-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnawux/kata-documentation/merges","archive_url":"https://api.github.com/repos/gnawux/kata-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnawux/kata-documentation/downloads","issues_url":"https://api.github.com/repos/gnawux/kata-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/gnawux/kata-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/gnawux/kata-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/gnawux/kata-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnawux/kata-documentation/labels{/name}","releases_url":"https://api.github.com/repos/gnawux/kata-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/gnawux/kata-documentation/deployments","created_at":"2018-02-26T07:47:36Z","updated_at":"2018-02-26T07:54:43Z","pushed_at":"2018-02-26T10:32:35Z","git_url":"git://github.com/gnawux/kata-documentation.git","ssh_url":"git@github.com:gnawux/kata-documentation.git","clone_url":"https://github.com/gnawux/kata-documentation.git","svn_url":"https://github.com/gnawux/kata-documentation","homepage":null,"size":149,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kata-containers:master","ref":"master","sha":"7f53e41fd890630f2f0668d48c4cfd8fd56a4af1","user":{"login":"kata-containers","id":33289952,"avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"repo":{"id":115009978,"name":"documentation","full_name":"kata-containers/documentation","owner":{"login":"kata-containers","id":33289952,"avatar_url":"https://avatars3.githubusercontent.com/u/33289952?v=4","gravatar_id":"","url":"https://api.github.com/users/kata-containers","html_url":"https://github.com/kata-containers","followers_url":"https://api.github.com/users/kata-containers/followers","following_url":"https://api.github.com/users/kata-containers/following{/other_user}","gists_url":"https://api.github.com/users/kata-containers/gists{/gist_id}","starred_url":"https://api.github.com/users/kata-containers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kata-containers/subscriptions","organizations_url":"https://api.github.com/users/kata-containers/orgs","repos_url":"https://api.github.com/users/kata-containers/repos","events_url":"https://api.github.com/users/kata-containers/events{/privacy}","received_events_url":"https://api.github.com/users/kata-containers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kata-containers/documentation","description":"Kata Containers documentation","fork":false,"url":"https://api.github.com/repos/kata-containers/documentation","forks_url":"https://api.github.com/repos/kata-containers/documentation/forks","keys_url":"https://api.github.com/repos/kata-containers/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kata-containers/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kata-containers/documentation/teams","hooks_url":"https://api.github.com/repos/kata-containers/documentation/hooks","issue_events_url":"https://api.github.com/repos/kata-containers/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/kata-containers/documentation/events","assignees_url":"https://api.github.com/repos/kata-containers/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/kata-containers/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/kata-containers/documentation/tags","blobs_url":"https://api.github.com/repos/kata-containers/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kata-containers/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kata-containers/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/kata-containers/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kata-containers/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/kata-containers/documentation/languages","stargazers_url":"https://api.github.com/repos/kata-containers/documentation/stargazers","contributors_url":"https://api.github.com/repos/kata-containers/documentation/contributors","subscribers_url":"https://api.github.com/repos/kata-containers/documentation/subscribers","subscription_url":"https://api.github.com/repos/kata-containers/documentation/subscription","commits_url":"https://api.github.com/repos/kata-containers/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/kata-containers/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/kata-containers/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/kata-containers/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/kata-containers/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/kata-containers/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kata-containers/documentation/merges","archive_url":"https://api.github.com/repos/kata-containers/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kata-containers/documentation/downloads","issues_url":"https://api.github.com/repos/kata-containers/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/kata-containers/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/kata-containers/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/kata-containers/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kata-containers/documentation/labels{/name}","releases_url":"https://api.github.com/repos/kata-containers/documentation/releases{/id}","deployments_url":"https://api.github.com/repos/kata-containers/documentation/deployments","created_at":"2017-12-21T13:41:45Z","updated_at":"2018-01-31T16:48:19Z","pushed_at":"2018-02-27T16:46:50Z","git_url":"git://github.com/kata-containers/documentation.git","ssh_url":"git@github.com:kata-containers/documentation.git","clone_url":"https://github.com/kata-containers/documentation.git","svn_url":"https://github.com/kata-containers/documentation","homepage":null,"size":9,"stargazers_count":11,"watchers_count":11,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":7,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":11,"open_issues":7,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kata-containers/documentation/pulls/16"},"html":{"href":"https://github.com/kata-containers/documentation/pull/16"},"issue":{"href":"https://api.github.com/repos/kata-containers/documentation/issues/16"},"comments":{"href":"https://api.github.com/repos/kata-containers/documentation/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/kata-containers/documentation/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/kata-containers/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kata-containers/documentation/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/kata-containers/documentation/statuses/e348f550f557d5c1d5b1a9c1b84919fbd91d7174"}},"author_association":"NONE"}}
{"actor":{"display_login":"jodh-intel"}}