stratumctl image-recipes
Manage image build recipes
stratumctl image-recipes [flags]Aliases: image-recipe, recipes
Subcommands
Section titled “Subcommands”stratumctl image-recipes build: Start a build of a recipe now (returns the build; follow it with image-builds get/logs)stratumctl image-recipes create: Create an image recipe from a JSON file (–from-file - reads stdin)stratumctl image-recipes delete: Delete an image recipe (refused while a build is in flight; output images stay)stratumctl image-recipes get: Describe an image recipestratumctl image-recipes list: List the project’s image recipesstratumctl image-recipes update: Replace an image recipe’s definition from a JSON file
stratumctl image-recipes build
Section titled “stratumctl image-recipes build”Start a build of a recipe now (returns the build; follow it with image-builds get/logs)
stratumctl image-recipes build <recipe-id> [flags]Examples
Section titled “Examples”stratumctl image-recipes build ir-8k2m4x7q9a| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl image-recipes create
Section titled “stratumctl image-recipes create”Create an image recipe from a JSON file (–from-file - reads stdin)
stratumctl image-recipes create [flags]Examples
Section titled “Examples”stratumctl image-recipes create --from-file recipe.jsoncat recipe.json | stratumctl image-recipes create --from-file -| Flag | Type | Default | Description |
|---|---|---|---|
--from-file |
string | Path to the recipe JSON (required; - for stdin) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl image-recipes delete
Section titled “stratumctl image-recipes delete”Delete an image recipe (refused while a build is in flight; output images stay)
stratumctl image-recipes delete <recipe-id> [flags]Examples
Section titled “Examples”stratumctl image-recipes delete ir-8k2m4x7q9a| Flag | Type | Default | Description |
|---|---|---|---|
--force |
bool | false |
delete a platform-owned resource anyway (needs platform:ManageInternal; audited; the platform re-creates it) |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl image-recipes get
Section titled “stratumctl image-recipes get”Describe an image recipe
stratumctl image-recipes get <recipe-id> [flags]Examples
Section titled “Examples”stratumctl image-recipes get ir-8k2m4x7q9astratumctl image-recipes get ir-8k2m4x7q9a --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl image-recipes list
Section titled “stratumctl image-recipes list”List the project’s image recipes
stratumctl image-recipes list [flags]Examples
Section titled “Examples”stratumctl image-recipes liststratumctl image-recipes list --output json| Flag | Type | Default | Description |
|---|---|---|---|
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
stratumctl image-recipes update
Section titled “stratumctl image-recipes update”Replace an image recipe’s definition from a JSON file
stratumctl image-recipes update <recipe-id> [flags]Examples
Section titled “Examples”stratumctl image-recipes update ir-8k2m4x7q9a --from-file recipe.json| Flag | Type | Default | Description |
|---|---|---|---|
--from-file |
string | Path to the recipe JSON (required; - for stdin) | |
--project |
string | Project ID (defaults to STRATUM_PROJECT or profile project_id) |
