runc-state (8) Linux Manual Page
runc-state – show the state of a container Synopsis runc state container-id Description The state command outputs current state information for the specified container-id in a JSON format. See Also runc(8).
Section 8: administration and privileged commands
runc-state – show the state of a container Synopsis runc state container-id Description The state command outputs current state information for the specified container-id in a JSON format. See Also runc(8).
runc start – start a previously created container Synopsis runc start container-id Description The start command executes the process defined in config.json in a container previously created by runc-create(8). See Also runc-create(8), runc(8).
runc-spec – create a new specification file Synopsis runc spec [option …] Description The spec command creates the new specification file named config.json for the bundle. The spec generated is just a starter file. Editing of the spec is required to achieve desired results. For example, the newly generated spec includes an args parameter that…
runc-run – create and start a container Synopsis runc run [option …] container-id Description The run command creates an instance of a container from a bundle, and starts it. You can think of run as a shortcut for create followed by start. Options –bundle|-b path Path to the root of the bundle directory. Default is…
runc-resume – resume all processes that have been previously paused Synopsis runc resume container-id Description The resume command resumes all processes in the instance of the container identified by container-id. Use runc list to identify instances of containers and their current status. See Also runc-list(8), runc-pause(8), runc(8).
runc-restore – restore a container from a previous checkpoint Synopsis runc restore [option …] container-id Description Restores the container instance from a previously performed runc checkpoint. Options –console-socket path Path to an AF_UNIX socket which will receive a file descriptor referencing the master end of the console’s pseudoterminal. See docs/terminals <https://github.com/opencontainers/runc/blob/master/docs/terminals.md>. –image-path path Set path…
runc-ps – display the processes inside a container Synopsis runc ps [option …] container-id [ps-option …] Description The command ps is a wrapper around the stock ps(1) utility, which filters its output to only contain processes belonging to a specified container-id. Therefore, the PIDs shown are the host PIDs. Any ps(1) options can be used,…
runc-pause – suspend all processes inside the container Synopsis runc pause container-id Description The pause command suspends all processes in the instance of the container identified by container-id. Use runc list to identify instances of containers and their current status. See Also runc-list(8), runc-resume(8), runc(8).
runc-list – lists containers Synopsis runc list [option …] Description The list commands lists containers. Note that a global –root option can be specified to change the default root. For the description of –root, see runc(8). Options –format|-f table|json Specify the format. Default is table. The json format provides more details. –quiet|-q Only display container…
runc-kill – send a specified signal to container Synopsis runc kill [–all|-a] container-id [signal] Description By default, runc kill sends SIGTERM to the container’s initial process only. A different signal can be specified either by its name (with or without the SIG prefix), or its numeric value. Use kill(1) with -l option to list available…
runc-exec – execute new process inside the container Synopsis runc exec [option …] container-id [–] command [arg …] runc exec [option …] -p process.json container-id Options –console-socket path Path to an AF_UNIX socket which will receive a file descriptor referencing the master end of the console’s pseudoterminal. See docs/terminals <https://github.com/opencontainers/runc/blob/master/docs/terminals.md>. –cwd path Change to path…
runc-events – display container events and statistics. Synopsis runc events [option …] container-id Description The events command displays information about the container. By default, it works continuously, displaying stats every 5 seconds, and container events as they occur. Options –interval time Set the stats collection interval. Default is 5s. –stats Show the container’s stats once…
runc-delete – delete any resources held by the container Synopsis runc delete [–force|-f] container-id Options –force|-f Forcibly delete the running container, using SIGKILL signal(7) to stop it first. Examples If the container id is ubuntu01 and runc list currently shows its status as stopped, the following will delete resources held for ubuntu01, removing it from…
runc-create – create a container Synopsis runc create [option …] container-id Description The create command creates an instance of a container from a bundle. The bundle is a directory with a specification file named config.json, and a root filesystem. Options –bundle|-b path Path to the root of the bundle directory. Default is current directory. –console-socket…
runc-checkpoint – checkpoint a running container Synopsis runc checkpoint [option …] container-id Description The checkpoint command saves the state of the running container instance with the help of criu(8) tool, to be restored later. Options –image-path path Set path for saving criu image files. The default is ./checkpoint. –work-path path Set path for saving criu…
run_selinux – Security Enhanced Linux Policy for the run processes Description Security-Enhanced Linux secures the run processes via flexible mandatory access control. Booleans SELinux policy is customizable based on least access required. run policy is extremely flexible and has several booleans that allow you to manipulate the policy and run run with the tightest access…
run_kannel_box – Run a Kannel box Synopsis run_kannel_box [–pidfile PIDFILE] [–min-delay SECONDS] BOXPATH [boxoptions…] Description run_kannel_box runs a kannel(8) box, i.e., one of the daemon programs of Kannel. is an WAP and SMS gateway. WAP is short for Wireless Application Protocol, and is used to implement hypertext based services on mobile phones. SMS is short…
run_init_selinux – Security Enhanced Linux Policy for the run_init processes Description Security-Enhanced Linux secures the run_init processes via flexible mandatory access control. The run_init processes execute with the run_init_t SELinux type. You can check if you have these processes running by executing the ps command with the -Z qualifier. For example: ps -eZ | grep…
run_init – run an init script in the proper SELinux context Synopsis run_init SCRIPT [[ARGS]…] Description Run a init script under the proper context, which is specified in /etc/selinux/POLICYTYPE/contexts/initrc_context. Files /etc/passwd – user account information /etc/shadow – encrypted passwords and age information /etc/selinux/POLICYTYPE/contexts/initrc_context – contains the context to run init scripts under See Also newrole…
run-parts – run scripts or programs in a directory Synopsis run-parts [–test] [–verbose] [–debug] [–report] [–lsbsysinit] [–regex=RE] [–umask=umask] [–arg=argument] [–exit-on-error] [–help] [–version] [–list] [–reverse] [–] DIRECTORY run-parts -V Description run-parts runs all the executable files named within constraints described below, found in directory directory. Other files and directories are silently ignored. If neither the –lsbsysinit…