github.com/containerd/containerd@v22.0.0-20200918172823-438c87b8e050+incompatible/runtime/v2/runc/options/oci.proto (about) 1 syntax = "proto3"; 2 3 package containerd.runc.v1; 4 5 import weak "gogoproto/gogo.proto"; 6 7 option go_package = "github.com/containerd/containerd/runtime/v2/runc/options;options"; 8 9 message Options { 10 // disable pivot root when creating a container 11 bool no_pivot_root = 1; 12 // create a new keyring for the container 13 bool no_new_keyring = 2; 14 // place the shim in a cgroup 15 string shim_cgroup = 3; 16 // set the I/O's pipes uid 17 uint32 io_uid = 4; 18 // set the I/O's pipes gid 19 uint32 io_gid = 5; 20 // binary name of the runc binary 21 string binary_name = 6; 22 // runc root directory 23 string root = 7; 24 // criu binary path 25 string criu_path = 8; 26 // enable systemd cgroups 27 bool systemd_cgroup = 9; 28 // criu image path 29 string criu_image_path = 10; 30 // criu work path 31 string criu_work_path = 11; 32 } 33 34 message CheckpointOptions { 35 // exit the container after a checkpoint 36 bool exit = 1; 37 // checkpoint open tcp connections 38 bool open_tcp = 2; 39 // checkpoint external unix sockets 40 bool external_unix_sockets = 3; 41 // checkpoint terminals (ptys) 42 bool terminal = 4; 43 // allow checkpointing of file locks 44 bool file_locks = 5; 45 // restore provided namespaces as empty namespaces 46 repeated string empty_namespaces = 6; 47 // set the cgroups mode, soft, full, strict 48 string cgroups_mode = 7; 49 // checkpoint image path 50 string image_path = 8; 51 // checkpoint work path 52 string work_path = 9; 53 } 54 55 message ProcessDetails { 56 // exec process id if the process is managed by a shim 57 string exec_id = 1; 58 }