image
Container image operations
Usage
Container image operations.
Commands:
Usage | Description |
---|---|
Get digest of an image from remote registry | |
List images | |
Pull an image from platform registry | |
Push an image to platform registry | |
Remove image from platform registry | |
Get image size | |
List tags for image in platform registry |
digest
Get digest of an image from remote registry
Usage
Get digest of an image from remote registry
Image name must be URL
with image:// scheme. Image name must contain tag.
Examples
Options
Name | Description |
---|---|
--help | Show this message and exit. |
ls
List images
Usage
List images.
Options
Name | Description |
---|---|
--help | Show this message and exit. |
--all-orgs | Show images in all orgs. |
--all-projects | Show images in all projects. |
--cluster CLUSTER | Show images on a specified cluster (the current cluster by default). |
-l | List in long format. |
--full-uri | Output full image URI. |
-n, --name PATTERN | Filter out images by name regex. |
--org ORG | Filter out images by org (multiple option, the current org by default). |
--project PROJECT | Filter out images by project (multiple option, the current project by default). |
pull
Pull an image from platform registry
Usage
Pull an image from platform registry.
Remote image name must be URL
with image:// scheme. Image names can contain tag.
Examples
Options
Name | Description |
---|---|
--help | Show this message and exit. |
push
Push an image to platform registry
Usage
Push an image to platform registry.
Remote image must be URL
with image:// scheme. Image names can contain tag. If tags not specified 'latest' will be used as value.
Examples
Options
Name | Description |
---|---|
--help | Show this message and exit. |
rm
Remove image from platform registry
Usage
Remove image from platform registry.
Image name must be URL
with image:// scheme. Image name must contain tag.
Examples
Options
Name | Description |
---|---|
--help | Show this message and exit. |
-f | Force deletion of all tags referencing the image. |
size
Get image size
Usage
Get image size
Image name must be URL
with image:// scheme. Image name must contain tag.
Examples
Options
Name | Description |
---|---|
--help | Show this message and exit. |
tags
List tags for image in platform registry
Usage
List tags for image in platform registry.
Image name must be URL
with image:// scheme.
Examples
Options
Name | Description |
---|---|
--help | Show this message and exit. |
-l | List in long format, with image sizes. |
Last updated