pub async fn start_component(
    start_info: ComponentStartInfo,
    controller: ServerEnd<ComponentControllerMarker>,
    system_task: &CurrentTask
) -> Result<(), Error>
Expand description

Starts a component inside the given container.

The component’s binary can either:

  • an absolute path, in which case the path is treated as a path into the root filesystem that is mounted by the container’s configuration
  • relative path, in which case the binary is read from the component’s package (which is mounted at /container/component/{random}/pkg.)

The directories in the component’s namespace are mounted at /container/component/{random}.