Images and platforms
The canonical images and platform configurations.
The canonical images and platform configurations.
| Command | Description |
|---|---|
cb image | Show the canonical images (the local image store is deprecated). |
cb image list | List all images. |
cb image info | Show image details. |
cb image create | Deprecated: create an image from a platform. |
cb image delete | Deprecated: delete a stored image. |
cb image clone | Deprecated: clone a stored image. |
cb image shell | Deprecated: interactive shell into a stored image. |
cb platform | Show available platform configurations. |
cb platform list | List all available platforms. |
cb platform info | Show platform details. |
Every command also accepts the global options.
cb image#Show the canonical images (the local image store is deprecated).
cb image [COMMAND]Examples
# List the canonical images
cb image
# Show one image
cb image info linuxcb image list#List all images.
cb image list [OPTIONS]| Flag | Type | Default | Description |
|---|---|---|---|
--platform | string | Filter by platform. | |
--format | table | json | table | Output format. |
Examples
# List images
cb image list
# List one platform's images as JSON
cb image list --platform linux-docker --format jsoncb image info#Show image details.
cb image info <name>| Argument | Type | Default | Description |
|---|---|---|---|
<name> | string | required | Image name. |
Examples
# Show one image
cb image info linuxcb image create#Deprecated: create an image from a platform.
cb image create [OPTIONS] <platform>Examples
# Create a Linux image (deprecated)
cb image create linux-docker --name my-linuxcb image delete#Deprecated: delete a stored image.
cb image delete [OPTIONS] <name>Examples
# Delete a stored image (deprecated)
cb image delete my-linux --forcecb image clone#Deprecated: clone a stored image.
cb image clone [OPTIONS] <source> <target>Examples
# Clone a stored image (deprecated)
cb image clone my-linux my-linux-2cb image shell#Deprecated: interactive shell into a stored image.
cb image shell [OPTIONS] <name>Examples
# Open a shell in a stored image (deprecated)
cb image shell my-linuxcb platform#Show available platform configurations.
cb platform [COMMAND]Examples
# List platforms
cb platform
# Show one platform
cb platform info linux-dockercb platform list#List all available platforms.
cb platform list [OPTIONS]| Flag | Type | Default | Description |
|---|---|---|---|
--format | table | json | table | Output format. |
Examples
# List platforms
cb platform list
# As JSON
cb platform list --format jsoncb platform info#Show platform details.
cb platform info <platform>| Argument | Type | Default | Description |
|---|---|---|---|
<platform> | string | required | Platform name (e.g., linux-docker, windows-qemu). |
Examples
# Show one platform
cb platform info windows-qemu| Code | Meaning |
|---|---|
0 | Success: every variant completed. |
1 | Failure: a variant failed or was cancelled, or the command could not run. |
2 | Usage error: an unknown command, flag or value. |
130 | Interrupted (Ctrl-C); running variants are cancelled. |