diff options
Diffstat (limited to 'shim')
-rw-r--r-- | shim/BUILD | 15 | ||||
-rw-r--r-- | shim/README.md | 10 | ||||
-rw-r--r-- | shim/runsc.toml | 6 | ||||
-rw-r--r-- | shim/v1/BUILD | 41 | ||||
-rw-r--r-- | shim/v2/BUILD | 29 |
5 files changed, 0 insertions, 101 deletions
diff --git a/shim/BUILD b/shim/BUILD deleted file mode 100644 index e581618b2..000000000 --- a/shim/BUILD +++ /dev/null @@ -1,15 +0,0 @@ -load("//tools:defs.bzl", "pkg_tar") - -package(licenses = ["notice"]) - -pkg_tar( - name = "config", - srcs = [ - "runsc.toml", - ], - mode = "0644", - package_dir = "/etc/containerd", - visibility = [ - "//runsc:__pkg__", - ], -) diff --git a/shim/README.md b/shim/README.md deleted file mode 100644 index 75daf00ac..000000000 --- a/shim/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# Shim Overview - -Integration with containerd is done via a [shim][shims]. There are various shims -supported for different versions of [containerd][containerd]. - -- [Containerd 1.2+ (shim v2)](https://gvisor.dev/docs/user_guide/containerd/quick_start/) -- [Containerd 1.1 (shim v1)](https://gvisor.dev/docs/user_guide/containerd/containerd_11/) - -[containerd]: https://github.com/containerd/containerd -[shims]: https://iximiuz.com/en/posts/implementing-container-runtime-shim/ diff --git a/shim/runsc.toml b/shim/runsc.toml deleted file mode 100644 index e1c7de1bb..000000000 --- a/shim/runsc.toml +++ /dev/null @@ -1,6 +0,0 @@ -# This is an example configuration file for runsc. -# -# By default, it will be parsed from /etc/containerd/runsc.toml, but see the -# static path configured in v1/main.go. Note that the configuration mechanism -# for newer container shim versions is different: see the documentation in v2. -[runsc_config] diff --git a/shim/v1/BUILD b/shim/v1/BUILD deleted file mode 100644 index 7b837630c..000000000 --- a/shim/v1/BUILD +++ /dev/null @@ -1,41 +0,0 @@ -load("//tools:defs.bzl", "go_binary") -load("//website:defs.bzl", "doc") - -package(licenses = ["notice"]) - -go_binary( - name = "gvisor-containerd-shim", - srcs = [ - "api.go", - "config.go", - "main.go", - ], - static = True, - visibility = [ - "//visibility:public", - ], - deps = [ - "//pkg/shim/runsc", - "//pkg/shim/v1/shim", - "@com_github_burntsushi_toml//:go_default_library", - "@com_github_containerd_containerd//events:go_default_library", - "@com_github_containerd_containerd//namespaces:go_default_library", - "@com_github_containerd_containerd//runtime/v1/shim/v1:go_default_library", - "@com_github_containerd_containerd//sys:go_default_library", - "@com_github_containerd_containerd//sys/reaper:go_default_library", - "@com_github_containerd_ttrpc//:go_default_library", - "@com_github_containerd_typeurl//:go_default_library", - "@com_github_gogo_protobuf//types:go_default_library", - "@org_golang_x_sys//unix:go_default_library", - ], -) - -doc( - name = "doc", - src = "README.md", - category = "User Guide", - permalink = "/docs/user_guide/gvisor-containerd-shim/", - subcategory = "Advanced", - visibility = ["//website:__pkg__"], - weight = "93", -) diff --git a/shim/v2/BUILD b/shim/v2/BUILD deleted file mode 100644 index ae4705935..000000000 --- a/shim/v2/BUILD +++ /dev/null @@ -1,29 +0,0 @@ -load("//tools:defs.bzl", "go_binary") -load("//website:defs.bzl", "doc") - -package(licenses = ["notice"]) - -go_binary( - name = "containerd-shim-runsc-v1", - srcs = [ - "main.go", - ], - static = True, - visibility = [ - "//visibility:public", - ], - deps = [ - "//pkg/shim/v2", - "@com_github_containerd_containerd//runtime/v2/shim:go_default_library", - ], -) - -doc( - name = "doc", - src = "README.md", - category = "User Guide", - permalink = "/docs/user_guide/containerd-shim-runsc-v1/", - subcategory = "Advanced", - visibility = ["//website:__pkg__"], - weight = "92", -) |