Check and dump rootfs.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2017-12-03 11:28:46 +00:00
parent cad87243e1
commit a23bdf25d8
4 changed files with 196 additions and 0 deletions

View File

@@ -159,6 +159,7 @@ func (c *criContainerdService) CreateContainer(ctx context.Context, r *runtime.C
// points corresponding to spec.Mounts) before making the
// rootfs readonly (requested by spec.Root.Readonly).
customopts.WithNewSnapshot(id, image.Image),
withSnapshotCheck(c, id, spec.Process.Args[0], spec.Process.Env),
}
if len(volumeMounts) > 0 {