kite container¶
Manage ephemeral containers. Containers provide isolated code execution environments with gVisor security.
Aliases: cont, c
create¶
Create a new container.
| Flag | Description | Default |
|---|---|---|
--language, -l |
Programming language | python |
--cpu |
CPU in millicores | 500 |
--memory |
Memory in MB | 512 |
--internet |
Enable internet access | false |
--ports |
Ports to expose |
kite container create runner -l python
kite container create api-test -l node --memory 1024 --internet
list¶
List containers.
| Flag | Description |
|---|---|
--all, -a |
Show all containers (including stopped) |
get¶
Get container details.
start / stop¶
exec¶
Execute code in a container.
| Flag | Description | Default |
|---|---|---|
--timeout, -t |
Execution timeout in seconds | 30 |
shell¶
Open an interactive shell in a container.
Port Management¶
expose-port¶
Expose a port from the container.
| Flag | Description |
|---|---|
--subdomain |
Custom subdomain |
unexpose-port¶
Remove an exposed port.
delete¶
Delete a container.
Security Model¶
Containers run with the following isolation:
| Layer | Mechanism |
|---|---|
| Isolation | gVisor userspace kernel |
| Networking | Disabled by default |
| Capabilities | All dropped (--cap-drop=ALL) |
| Privileges | No escalation (no-new-privileges) |
| Resources | CPU and memory limits via cgroups |
| User | Non-root (UID 1001) |