mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
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:
16
cli/containerd-shim-kata-v2/main.go
Normal file
16
cli/containerd-shim-kata-v2/main.go
Normal 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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user