Udon is under active development. Documentation not final.
udonudon
Containers

Run a container

Create and start a container from a `RunSpec`. Requires the **operator** role, or the **admin** role when the spec reaches the host through a host path in `volumes`, any `mounts`, `devices`, or `extraArgs`, an escalating capability in `capAdd`, or a shared host namespace such as host networking. Mounting the host root is refused for every role, and so is sharing a host namespace on OrbStack.

POST
/api/containers

Authorization

udon_session<token>

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Everything needed to run a container, mapped to container run flags. Only image is required; every other field defaults.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/containers" \  -H "Content-Type: application/json" \  -d '{    "image": "string"  }'
{  "id": "string"}

Ask AI

Answers from Udon's documentation.

Ask how to install Udon, run containers, or share folders.