Crates.io | containerd-runc-shim |
lib.rs | containerd-runc-shim |
version | 0.1.1 |
source | src |
created_at | 2022-03-11 00:01:14.566665 |
updated_at | 2022-03-11 00:19:29.426818 |
description | Rust implementation of containerd's runc v2 shim runtime |
homepage | https://containerd.io |
repository | https://github.com/containerd/rust-extensions |
max_upload_size | |
id | 547923 |
size | 135,085 |
By default containerd relies on runc shim v2 runtime (written in Go
) to launch containers.
This crate is an alternative Rust implementation of the shim runtime.
It conforms to containerd's integration tests and can be replaced with the original Go runtime interchangeably.
To build binary, run:
cargo build --release --bin containerd-shim-runc-v2-rs
Replace it to the containerd shim dir: /usr/local/bin/containerd-shim-runc-v2-rs
In order to use it from containerd, use:
$ sudo ctr run --rm --runtime io.containerd.runc.v2-rs -t docker.io/library/hello-world:latest hello
You can run a container by ctr
, crictl
or kubernetes API.