runc icon indicating copy to clipboard operation
runc copied to clipboard

CLI tool for spawning and running containers according to the OCI specification

Results 255 runc issues
Sort by recently updated
recently updated
newest added

This is a followup to #3510, doing some refactoring of the code introduced by #2576. This does the following: 1. Simplify `mount` call by removing the procfd argument, and use...

This supports fetching PSI stats for cgroupv2 containers. We read the PSI metrics if they are available from: - cpu.pressure - memory.pressure - io.pressure See more about PSI at https://www.kernel.org/doc/html/latest/accounting/psi.html

area/cgroupv2
impact/changelog
kind/feature

1. Bump shfmt to v3.5.1. Release notes: https://github.com/mvdan/sh/releases 2. Since shfmt v3.5.0, specifying `-l bash` (or `-l bats`) is no longer necessary. Therefore, we can use shfmt to find all...

easy-to-review
area/ci

https://cirrus-ci.com/task/4890404691640320?logs=unit_tests#L1358 ``` checkpoint_test.go:163: (00.023368) pie: 1: restoring lsm profile (current) unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 checkpoint_test.go:163: (00.023421) Error (criu/cr-restore.c:1510): 65440 stopped by signal 11: Segmentation fault checkpoint_test.go:163: (00.023704) mnt: Switching to new ns to...

area/ci
area/checkpoint-restore

Posting as tracking issue, following https://github.com/opencontainers/runc/pull/3485#discussion_r886570177 Hmm, there's one consideration that I don't know if we should care about here. If resctrlfs is mounted with `-o cdp` we will have...

In the [config section](https://github.com/opencontainers/runtime-spec/blob/main/config.md#user) of `runtime-spec`, it states: > `umask`: [...] If unspecified, the umask should not be changed from the calling process' umask. However runc does not seem to...

Apparently, https://pkg.go.dev/gvisor.dev/gvisor/pkg/seccomp can potentially be used (instead of libseccomp / libseccomp-golang) to implement seccomp in runc. Need to look into it.

kind/refactor
area/seccomp
go

At the moment all of our internal packages are importable from anywhere. There are several historical reasons for this: * Docker originally used LXC, but then created a Go container...

With cgroup v1, when we set the memory limit to below the current usage (`runc update` on a running container), the kernel returns EBUSY and runc fails with a nice...

kind/bug
area/cgroupv2
area/cgroupv1

As pointed out by @mrunalp in https://github.com/opencontainers/runc/pull/3433#issuecomment-1079806993, libcontainer packages should not do any logging, since this is a library used by other users. Unfortunately, libcontainer is also a part of...

area/logging