Skip to content

Commit 89958d4

Browse files
committed
doc: fix -container-cred-start
1 parent 5a3ccca commit 89958d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.cn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ interface Output {
459459
- 默认最大额外内存使用为 `16KiB` ,使用 `-extra-memory-limit` 指定
460460
- 默认最大 `copyOut` 文件大小为 `64MiB` ,使用 `-copy-out-limit` 指定
461461
- 使用 `-cpuset` 指定 `cpuset.cpus` (仅 Linux)
462-
- 默认容器用户开始区间为 10000 使用 `-container-cred-start` 指定(仅 Linux)
462+
- 默认容器用户开始区间为 0(不启用) 使用 `-container-cred-start` 指定(仅 Linux)
463463
- 举例,默认情况下第 0 个容器使用 10001 作为容器用户。第 1 个容器使用 10002 作为容器用户,以此类推
464464
- 使用 `-enable-cpu-rate` 开启 `cpu` cgroup 来启用 `cpuRate` 控制(仅 Linux)
465465
- 使用 `-cpu-cfs-period` 指定 cfs_period if cpu rate is enabled (default 100ms) (valid value: \[1ms, 1s\])

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ Sandbox:
640640
- `-copy-out-limit` specifies the default file copy out max (default 64MiB)
641641
- `-open-file-limit` specifies the max number of open files (default 256)
642642
- `-cpuset` specifies `cpuset.cpus` cgroup for each container (Linux only)
643-
- `-container-cred-start` specifies container `setuid` / `setgid` credential start point (default: 10000) (Linux only)
643+
- `-container-cred-start` specifies container `setuid` / `setgid` credential start point (default: 0 (disabled)) (Linux only)
644644
- for example, by default container 0 will run with 10001 uid & gid and container 1 will run with 10002 uid & gid...
645645
- `-enable-cpu-rate` enabled `cpu` cgroup to control cpu rate using cfs_quota & cfs_period control (Linux only)
646646
- `-cpu-cfs-period` specifies cfs_period if cpu rate is enabled (default 100ms) (valid value: \[1ms, 1s\])

0 commit comments

Comments
 (0)