Merge pull request #1530 from hckuo/fix-doc-for-runtime-options

Fix doc for runtime specific options
This commit is contained in:
Mike Brown 2020-07-10 11:46:32 -05:00 committed by GitHub
commit a01750d89a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,38 +156,38 @@ version = 2
# "io.containerd.runc.v1" and "io.containerd.runc.v2". Its corresponding options type is: # "io.containerd.runc.v1" and "io.containerd.runc.v2". Its corresponding options type is:
# https://github.com/containerd/containerd/blob/v1.3.2/runtime/v2/runc/options/oci.pb.go#L26 . # https://github.com/containerd/containerd/blob/v1.3.2/runtime/v2/runc/options/oci.pb.go#L26 .
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options] [plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
# NoPivotRoot disables pivot root when creating a container. # no_pivot_root disables pivot root when creating a container.
NoPivotRoot = false no_pivot_root = false
# NoNewKeyring disables new keyring for the container. # no_new_keyring disables new keyring for the container.
NoNewKeyring = false no_new_keyring = false
# ShimCgroup places the shim in a cgroup. # shim_cgroup places the shim in a cgroup.
ShimCgroup = "" shim_cgroup = ""
# IoUid sets the I/O's pipes uid. # io_uid sets the I/O's pipes uid.
IoUid = 0 io_uid = 0
# IoGid sets the I/O's pipes gid. # io_gid sets the I/O's pipes gid.
IoGid = 0 io_gid = 0
# BinaryName is the binary name of the runc binary. # binary_name is the binary name of the runc binary.
BinaryName = "" binary_name = ""
# Root is the runc root directory. # root is the runc root directory.
Root = "" root = ""
# CriuPath is the criu binary path. # criu_path is the criu binary path.
CriuPath = "" criu_path = ""
# SystemdCgroup enables systemd cgroups. # systemd_cgroup enables systemd cgroups.
SystemdCgroup = false systemd_cgroup = false
# CriuImagePath is the criu image path # criu_image_path is the criu image path
CriuImagePath = "" criu_image_path = ""
# CriuWorkPath is the criu work path. # criu_work_path is the criu work path.
CriuWorkPath = "" criu_work_path = ""
# 'plugins."io.containerd.grpc.v1.cri".cni' contains config related to cni # 'plugins."io.containerd.grpc.v1.cri".cni' contains config related to cni
[plugins."io.containerd.grpc.v1.cri".cni] [plugins."io.containerd.grpc.v1.cri".cni]