Honor DOCKER_RAMDISK with containerd 1.0
@@ -264,6 +264,7 @@ func (c *client) Start(ctx context.Context, id, checkpointDir string, withStdin
info.Options = &runctypes.CreateOptions{
IoUid: uint32(uid),
IoGid: uint32(gid),
+ NoPivotRoot: os.Getenv("DOCKER_RAMDISK") != "",
}
return nil
})
