image
Container image operations
Usage
apolo image [OPTIONS] COMMAND [ARGS]...
Container image operations.
Commands:
digest
Get digest of an image from remote registry
Usage
apolo image digest [OPTIONS] IMAGE
Get digest of an image from remote registry
Image name must be URL
with image:// scheme. Image name must contain tag.
Examples
$ apolo image digest image:/other-project/alpine:shared
$ apolo image digest image:myimage:latest
Options
--help
Show this message and exit.
ls
List images
Usage
apolo image ls [OPTIONS]
List images.
Options
--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
apolo image pull [OPTIONS] REMOTE_IMAGE [LOCAL_IMAGE]
Pull an image from platform registry.
Remote image name must be URL
with image:// scheme. Image names can contain tag.
Examples
$ apolo pull image:myimage
$ apolo pull image:/other-project/alpine:shared
$ apolo pull image:/project/my-alpine:production alpine:from-registry
Options
--help
Show this message and exit.
push
Push an image to platform registry
Usage
apolo image push [OPTIONS] LOCAL_IMAGE [REMOTE_IMAGE]
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
$ apolo push myimage
$ apolo push alpine:latest image:my-alpine:production
$ apolo push alpine image:/other-project/alpine:shared
Options
--help
Show this message and exit.
rm
Remove image from platform registry
Usage
apolo image rm [OPTIONS] IMAGES...
Remove image from platform registry.
Image name must be URL
with image:// scheme. Image name must contain tag.
Examples
$ apolo image rm image:/other-project/alpine:shared
$ apolo image rm image:myimage:latest
Options
--help
Show this message and exit.
-f
Force deletion of all tags referencing the image.
size
Get image size
Usage
apolo image size [OPTIONS] IMAGE
Get image size
Image name must be URL
with image:// scheme. Image name must contain tag.
Examples
$ apolo image size image:/other-project/alpine:shared
$ apolo image size image:myimage:latest
Options
--help
Show this message and exit.
tags
List tags for image in platform registry
Usage
apolo image tags [OPTIONS] IMAGE
List tags for image in platform registry.
Image name must be URL
with image:// scheme.
Examples
$ apolo image tags image:/other-project/alpine
$ apolo image tags -l image:myimage
Options
--help
Show this message and exit.
-l
List in long format, with image sizes.
Last updated
Was this helpful?