rust-extensions icon indicating copy to clipboard operation
rust-extensions copied to clipboard

Rust crates to extend containerd

Results 54 rust-extensions issues
Sort by recently updated
recently updated
newest added

Frankly speaking (in longer term) I think we should not carry cgroups related code in the `shim` crate. shim crate supposed to be the foundation for building new shim runtimes...

C-shim

is there any concern about resolving symlinks or relative paths via canonicalize here? _Originally posted by @jsturtevant in https://github.com/containerd/rust-extensions/pull/254#discussion_r1526631985_

https://github.com/containerd/rust-extensions/blob/main/crates/shim/src/cgroup.rs#L195 [cgroup-rs](https://github.com/kata-containers/cgroups-rs/issues/131)

Add oom monitor for cgroupv2.

C-runc-shim

Use `fs::read_to_string` from stdlib/tokio instead.

C-runc-shim
C-shim

There was a report that we saw a speed up in runwasi after turning logging off. #247 makes logging configurable but we should investigate the report: I _suspect_ that the...

find this error in ctr v1.7 "TestContainerDrainExecIOAfterExit" ,if ctr send 'delete' info to shim ,the shim return ok ,the ctr will think that IO is being closed. but this IO...

Allow for using the client create on Windows (https://github.com/containerd/rust-extensions/tree/main/crates/client). Currently it fails to build with: ``` error[E0432]: unresolved import `tokio::net::UnixStream` --> C:\Users\jstur\.cargo\registry\src\index.crates.io-6f17d22bba15001f\containerd-client-0.4.0\src\lib.rs:81:9 | 81 | use tokio::net::UnixStream; | ^^^^^^^^^^^^^^^^^^^^^^ no...

help wanted
C-client
OS-windows

We have found a bug that pods restarted after containerd restarted, especially on the condition that the container IO is very frequent. The parent process of the container processm that...

``` 2023-09-27T16:54:46.0829155Z === CONT TestContainerAttachProcess 2023-09-27T16:54:46.2301858Z container_linux_test.go:716: write /proc/self/fd/29: broken pipe 2023-09-27T16:54:46.2314358Z container_linux_test.go:724: write /proc/self/fd/29: broken pipe 2023-09-27T16:54:46.2384256Z container_linux_test.go:746: expected output "hello\nhello\n" but received "" 2023-09-27T16:54:46.2591524Z --- FAIL: TestContainerAttachProcess (0.18s)...

help wanted
T-CI