image

Container image operations

Usage

neuro image [OPTIONS] COMMAND [ARGS]...
Container image operations.
Commands:
Usage
Description
digest
Get digest of an image from remote registry
ls
List images
pull
Pull an image from platform registry
push
Push an image to platform registry
rm
Remove image from platform registry
size
Get image size
tags
List tags for image in platform registry

digest

Get digest of an image from remote registry

Usage

neuro 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

$ neuro image digest image:/other-project/alpine:shared
$ neuro image digest image:myimage:latest

Options

Name
Description
--help
Show this message and exit.

ls

List images

Usage

neuro image ls [OPTIONS]
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

neuro 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

$ neuro pull image:myimage
$ neuro pull image:/other-project/alpine:shared
$ neuro pull image:/project/my-alpine:production alpine:from-registry

Options

Name
Description
--help
Show this message and exit.

push

Push an image to platform registry

Usage

neuro 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

$ neuro push myimage
$ neuro push alpine:latest image:my-alpine:production
$ neuro push alpine image:/other-project/alpine:shared

Options

Name
Description
--help
Show this message and exit.

rm

Remove image from platform registry

Usage

neuro image rm [OPTIONS] IMAGES...
Remove image from platform registry.
Image name must be URL with image:// scheme. Image name must contain tag.

Examples

$ neuro image rm image:/other-project/alpine:shared
$ neuro image rm image:myimage:latest

Options

Name
Description
--help
Show this message and exit.
-f
Force deletion of all tags referencing the image.

size

Get image size

Usage

neuro image size [OPTIONS] IMAGE
Get image size
Image name must be URL with image:// scheme. Image name must contain tag.

Examples

$ neuro image size image:/other-project/alpine:shared
$ neuro image size image:myimage:latest

Options

Name
Description
--help
Show this message and exit.

tags

List tags for image in platform registry

Usage

neuro image tags [OPTIONS] IMAGE
List tags for image in platform registry.
Image name must be URL with image:// scheme.

Examples

$ neuro image tags image:/other-project/alpine
$ neuro image tags -l image:myimage

Options

Name
Description
--help
Show this message and exit.
-l
List in long format, with image sizes.