readme: add missing command line arguments

This commit is contained in:
criyle 2021-06-12 19:28:23 -07:00
parent e99bcce3db
commit af6605ad33
2 changed files with 4 additions and 1 deletions

View File

@ -67,6 +67,8 @@
- 使用 `-pre-fork` 指定启动时创建的容器数量
- 使用 `-tmp-fs-param` 指定容器内 `tmpfs` 的挂载参数(仅 Linux
- 使用 `-file-timeout` 指定文件存储文件最大时间。超出时间的文件将会删除。(举例 `30m`
- 使用`-mount-conf` 指定沙箱文件系统挂载细节,详细请参见 `mount.yaml` (仅 Linux)
- 使用 `-container-init-path` 指定 `cinit` 路径 (请不要使用,仅 debug) (Linux only)
### 环境变量

View File

@ -70,6 +70,8 @@ Sandbox:
- `-pre-fork` specifies number of container to create when server starts
- `-tmp-fs-param` specifies the tmpfs parameter for `/w` and `/tmp` when using default mounting (Linux only)
- `-file-timeout` specifies maximum TTL for file created in file store e.g. `30m`)
- `-mount-conf` specifies detailed mount configuration, please refer `mount.yaml` as a reference (Linux only)
- `-container-init-path` specifies path to `cinit` (do not use, debug only) (Linux only)
### Environment Variables
@ -673,7 +675,6 @@ Output:
<details><summary>Infinite loop with cpu rate control</summary>
```json
{
"cmd": [{