From 89958d4e00405a02d4adfdc44a09fc29e47be7b1 Mon Sep 17 00:00:00 2001 From: criyle Date: Tue, 16 Apr 2024 12:05:09 +0000 Subject: [PATCH] doc: fix -container-cred-start --- README.cn.md | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.cn.md b/README.cn.md index edab670..d574158 100644 --- a/README.cn.md +++ b/README.cn.md @@ -459,7 +459,7 @@ interface Output { - 默认最大额外内存使用为 `16KiB` ,使用 `-extra-memory-limit` 指定 - 默认最大 `copyOut` 文件大小为 `64MiB` ,使用 `-copy-out-limit` 指定 - 使用 `-cpuset` 指定 `cpuset.cpus` (仅 Linux) -- 默认容器用户开始区间为 10000 使用 `-container-cred-start` 指定(仅 Linux) +- 默认容器用户开始区间为 0(不启用) 使用 `-container-cred-start` 指定(仅 Linux) - 举例,默认情况下第 0 个容器使用 10001 作为容器用户。第 1 个容器使用 10002 作为容器用户,以此类推 - 使用 `-enable-cpu-rate` 开启 `cpu` cgroup 来启用 `cpuRate` 控制(仅 Linux) - 使用 `-cpu-cfs-period` 指定 cfs_period if cpu rate is enabled (default 100ms) (valid value: \[1ms, 1s\]) diff --git a/README.md b/README.md index d9e3f81..2042581 100644 --- a/README.md +++ b/README.md @@ -640,7 +640,7 @@ Sandbox: - `-copy-out-limit` specifies the default file copy out max (default 64MiB) - `-open-file-limit` specifies the max number of open files (default 256) - `-cpuset` specifies `cpuset.cpus` cgroup for each container (Linux only) -- `-container-cred-start` specifies container `setuid` / `setgid` credential start point (default: 10000) (Linux only) +- `-container-cred-start` specifies container `setuid` / `setgid` credential start point (default: 0 (disabled)) (Linux only) - for example, by default container 0 will run with 10001 uid & gid and container 1 will run with 10002 uid & gid... - `-enable-cpu-rate` enabled `cpu` cgroup to control cpu rate using cfs_quota & cfs_period control (Linux only) - `-cpu-cfs-period` specifies cfs_period if cpu rate is enabled (default 100ms) (valid value: \[1ms, 1s\])