diff --git a/runtime.md b/runtime.md index 1ce16b3..4404af3 100644 --- a/runtime.md +++ b/runtime.md @@ -44,6 +44,8 @@ $ echo $? Starts a container from a bundle directory. * *Options* + * *`--id `* Set the container ID when creating or joining a container. + If not set, the runtime is free to pick any ID that is not already in use. * *`--config `* Override `config.json` with an alternative path. The path may not support seeking (e.g. `/dev/fd/3`). * *`--runtime `* Override `runtime.json` with an alternative path. The path may not support seeking (e.g. `/dev/fd/3`). * *Standard streams:* The runtime must attach its standard streams directly to the application process without inspection. @@ -52,7 +54,7 @@ Starts a container from a bundle directory. Example: ```sh # in a bundle directory with a process that echos "hello" and exits 42 -$ funC start +$ funC start --id hello-1 hello $ echo $?