runc
runc copied to clipboard
CLI tool for spawning and running containers according to the OCI specification
For a fresh man with runc/containerd, mount a directory to a container may be a common action to them. If there is a mount like this: ``` { "destination": "/context",...
Hi there. As already mentioned in #1931, I've created a sequence diagram for `nsexec.c`. This commit adds: - The image file to `contrib/nsenter-doc/nsenter.jpg` - A reference to the image in...
The caller can ignore it if they don't care about using them. cc: @cyphar @runcom Signed-off-by: Mrunal Patel
Without that if condition runc creates a bunch of mounts for non NEWNS containers and don't clean after all.
Adds a couple error tests; some basic error checking; addresses a few nits that I noticed on a recent review. Signed-off-by: Mike Brown
Signed-off-by: Lifubang This bug will appear in a very small probability. If there is a bash script for start a runc container: bash file: st ``` #!/bin/bash redis-server --port $1...
* Refactor `ps.go` to use the psgo APIs instead of `exec.Command("ps", psArgs...)` * Add to runc ps the *--print-descriptors* boolean flag to retrieve all available format descriptors supported by psgo...
So far when the input mount flags contain `MS_SHARED`, the flag has not been applied to the container rootfs. That's because we call `rootfsParentMountPrivate()` after applying the original mount flags....
This fixes a race between `runc run` closing stdin on exit and TTY copier goroutine also trying to close it because of EOF on the console: ``` Read at 0x00c4200b8060...
The runtime spec [has][1]: > * env (array of strings, OPTIONAL) with the same semantics as IEEE Std 1003.1-2008's environ. And running `execle` or similar with `NULL` `env` results in...