update docs and comments

Signed-off-by: Allen Sun <shlallen1990@gmail.com>
This commit is contained in:
Allen Sun
2017-09-25 10:11:48 +08:00
committed by Allen Sun
parent 709d34f882
commit 4700968ff3
6 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ is simply a directory on the filesystem.
![Architecture](architecture.png)
Note that while these architectural ideas are important to understanding the
Note that while these architectural ideas are important to understand the
system, code layout may not reflect the exact architecture. These ideas should
be used as a guide for placing functionality and behavior and understanding the
thought behind the design.

View File

@@ -1,6 +1,6 @@
# Container Lifecycle
While containerd is a daemon that provides API to manage multiple containers, the containers themselves are not tied to the lifecycle of containerd. Each container has a shim that acts as the direct parent for the container's processes as well has reporting the exit status and holding onto the STDIO of the container. This also allows containerd to crash and restore all functionality to containers.
While containerd is a daemon that provides API to manage multiple containers, the containers themselves are not tied to the lifecycle of containerd. Each container has a shim that acts as the direct parent for the container's processes as well as reporting the exit status and holding onto the STDIO of the container. This also allows containerd to crash and restore all functionality to containers.
## containerd