container-shim-kata-v2: The init containerd shim v2 support

This patch is the init codes of the shimv2 for
containerd.

Signed-off-by: fupan <lifupan@gmail.com>
This commit is contained in:
fupan
2018-08-08 10:08:09 +08:00
parent 5e6cd0090f
commit d6c4ca5fe5
6 changed files with 525 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// Copyright (c) 2018 HyperHQ Inc.
//
// SPDX-License-Identifier: Apache-2.0
//
package main
import (
"github.com/containerd/containerd/runtime/v2/shim"
"github.com/kata-containers/runtime/containerd-shim-v2"
)
func main() {
shim.Run("io.containerd.kata.v2", containerdshim.New)
}