dtctl image list
Usage
dtctl image list [flags]
Aliases
l
Description
Retrieve the images available to you, optionally filtered by visibility or status.
Example
# List all images, or only your private ones
dtctl image list
dtctl image list --visibility private
Response
In text output (the default), this command returns the following columns: ID, Name, Status, Type, OS Type, OS Distro, Min. Volume Size, Size, Visibility.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--status, -s | Filter by status. One of: queued, saving, active, killed, deleted, pending_delete, deactivated, uploading, importing |
--visibility, -v | Filter by visibility. One of: public, private, shared, community |
Related Commands
| Command | Description |
|---|---|
| dtctl image show | Show an image |
| dtctl image delete | Delete an image |
| dtctl image action | Update image metadata |
| dtctl image versions | List image versions |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |