DevOps/Container/runc

< DevOps‎ | Container(Redirected from RunC)

runC[1][2], a container runtime that implements their specification and serves as a basis for other higher-level tools. runC was first released in July 2015 as version 0.0.1[3] and it is included in RHEL 8.0 (2019)[4][5] as a Docker replacement.

runC-like container runtime shares a single kernel instance across all containers in contrast to Clear Containers.

CommandsEdit

checkpoint   checkpoint a running container
create       create a container
delete       delete any resources held by the container often used with detached containers
events       display container events such as OOM notifications, cpu, memory, IO and network stats
exec         execute new process inside the container
init         initialize the namespaces and launch the process (do not call it outside of runc)
kill         kill sends the specified signal (default: SIGTERM) to the container's init process
list         lists containers started by runc with the given root
pause        pause suspends all processes inside the container
ps           displays the processes running inside a container
restore      restore a container from a previous checkpoint
resume       resumes all processes that have been previously paused
run          create and run a container
spec         create a new specification file
start        executes the user defined process in a created container
state        output the state of a container
update       update container resource constraints. https://github.com/opencontainers/runc/blob/master/man/runc-update.8.md
help, h      Shows a list of commands or help for one command

See alsoEdit

  1. https://github.com/opencontainers/runc
  2. https://github.com/opencontainers/runc/blob/master/man/runc.8.md
  3. https://github.com/opencontainers/runc/releases/tag/v0.0.1
  4. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.0_release_notes/index
  5. https://en.wikiversity.org/wiki/Red_Hat_Entreprise_Linux/RHEL_8_Features