Properties
| Name | Type | Description |
|---|---|---|
| exec | array | Command to execute as the Machine's init process. |
| entrypoint | array | Override the container image's entrypoint. |
| cmd | array | Override the container image's default command. |
| tty | boolean | When true, allocates a pseudo-TTY for the Machine's init process. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MachineInit",
"title": "MachineInit",
"type": "object",
"description": "Startup process configuration for a Fly Machine.",
"properties": {
"exec": {
"type": "array",
"description": "Command to execute as the Machine's init process.",
"items": {
"type": "string"
}
},
"entrypoint": {
"type": "array",
"description": "Override the container image's entrypoint.",
"items": {
"type": "string"
}
},
"cmd": {
"type": "array",
"description": "Override the container image's default command.",
"items": {
"type": "string"
}
},
"tty": {
"type": "boolean",
"description": "When true, allocates a pseudo-TTY for the Machine's init process."
}
}
}