crun
crun copied to clipboard
A fast and lightweight fully featured OCI runtime and C library for running containers
## Description: When attempting to kill a container that is not running, runc returns an error message indicating that the "container not running," while crun returns an error message stating...
When using containerd+crun to start a container on an arm-based board, I received an error:  I located the error at line 2580 of src/libcrun/container.c of crun:  I am...
Hello, I try to add support for wasm-micro-runtime ([WAMR](https://github.com/bytecodealliance/wasm-micro-runtime)) as another handler. It seems promising since it is a very lightweight WASM runtime. I have followed the implementation of current...
By default, CRIU restores containers with the same SELinux process labels used during checkpointing. However, when restoring multiple copies of a container, this results in all containers using identical SELinux...
So far it's a one-off, only on my laptop: ``` not ok 180 |200| podman pod create - hashtag AllTheOptions in 1798ms # tags: ci:parallel # (from function `bail-now' in...
I find postStart hook may run before startContainer hook when I review crun code. @giuseppe
## Summary by Sourcery Improve error handling by extracting and restoring original errno from libcrun error objects across cgroup setup, directory creation, and filesystem path operations. Enhancements: - Use `crun_error_get_errno`...
Remove redundant code. This is possible because `get_run_directory()` is called by `libcrun_get_state_directory()` and `crun_ensure_directory()` is called by `get_run_directory()` Note, this source code line is removed ``` libcrun_debug ("Checking run directory:...
The `path` variable is handled by `STEAL_POINTER()` * https://github.com/containers/crun/blob/d89542c61520ac5c971090dfa3201e9c4ce18ad1/src/libcrun/status.c#L131 but `cleanup_free`was missing. ## Summary by Sourcery Bug Fixes: - Annotate `path` with `cleanup_free` in status.c to prevent potential memory leaks.
The OCI CPU shares (range [2-262144]) to cgroup v2 `cpu.weight` (range [1-10000]) conversion formula has been updated Closes: https://github.com/containers/crun/issues/1721