Skip to main content
Manage images and configure Docker login For a detailed overview, please visit the image’s reference page.

image access-report

Show the access report for the referenced image Usage
Common Options Reference

image audit

Retrieve audit trail events for the referenced image Usage
Common Options Reference

image build

Build and containerize an application into an image. If using buildpacks, everything after — will be passed down to the pack executable. Usage
To push an image using this command, the docker-credential-cpln executable must be installed if the CLI was not installed using npm.
The option --builder accepts any trusted buildpacks builder.The default buildpack is heroku/buildpacks:18.Docker is required to be installed.
Common Options Reference

image copy

Copy an image from one org to another. This will make sure that docker-login has been run against the source and destination org, then will pull, tag and push the image to the destination org. Usage
Common Options Reference
  • Copying image between orgs within the same profile
The profile service principal (user/service account) must have the proper permissions to pull/push images in the current and target org.
  • Copying image between orgs using different profiles
This command will copy an image from the current org to the target org.The current profile service principal (user/service account) must have the proper permissions to pull images in the current org (default profile).The referenced —to-profile service principal (user/service account) must have the proper permissions to push images to the target org.This command allows the copying of images between different orgs using user or service account profiles.

image delete

Delete one or more referenced images Usage
Common Options Reference

image docker-login

Perform a Docker login to the organization’s private registry Usage
Common Options Reference

image edit

Edit the referenced image, as YAML, within an editor Usage
The default editor can be set by using the EDITOR environment variable.
Common Options Reference

image get

Retrieve one or more referenced images Usage
An empty reference will return all references
Common Options Reference
  • Get all images
  • Get one image
  • Get multiple images

image patch

Update the referenced image’s metadata using an input file Usage
Running this command with the option --file - sets the input to stdin. The input is required to be a valid JSON or YAML string (e.g., {"description": "My new description"} or description: My new description). To complete the update, press Control-D (or Control-Z if you are using Windows).
Common Options Reference

image permissions

Show the grantable permissions for an image object type Usage
Common Options Reference

image query

Find all the images based on the given query Usage
Common Options Reference
Use the --match option to display all, none, or any of the results based on a given property or tag
  • Search for an image based on the name property
  • Search for an image based on the description property
  • Search for an image based on a tag
  • Search for an image based on a property and tag

image tag

Manage the tags belonging to one or more referenced images Usage
Built-in tags, which begin with cpln/*, can’t be modified.
Common Options Reference
  • Add a tag
  • Update same tag (after running the example above)
  • Remove tag (after running the example above)