Ensure container rootfs and apply image config

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-05-27 00:43:28 +00:00
parent 98bc3edf50
commit 80c973a550
4 changed files with 87 additions and 37 deletions

View File

@@ -69,7 +69,7 @@ func (c *criContainerdService) RemoveContainer(ctx context.Context, r *runtime.R
// kubelet implementation, we'll never start a container once we decide to remove it,
// so we don't need the "Dead" state for now.
// TODO(random-liu): [P0] Cleanup container rootfs.
// TODO(random-liu): [P0] Cleanup snapshot after switching to new snapshot api.
// Cleanup container root directory.
containerRootDir := getContainerRootDir(c.rootDir, id)