LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ibmcloud-cr

manages IBM Cloud Container Registry

TLDR

Login to registry
$ ibmcloud cr login
copy
List images
$ ibmcloud cr image-list
copy
Create namespace
$ ibmcloud cr namespace-add [namespace]
copy
Build image
$ ibmcloud cr build -t [registry/namespace/image:tag] [.]
copy
Remove image
$ ibmcloud cr image-rm [image]
copy
List namespaces
$ ibmcloud cr namespace-list
copy

SYNOPSIS

ibmcloud cr command [options]

DESCRIPTION

ibmcloud cr manages IBM Cloud Container Registry. It provides private Docker image storage and vulnerability scanning.The tool handles namespaces, images, and registry authentication. It integrates with IBM Cloud Kubernetes Service.

PARAMETERS

COMMAND

Container Registry command.
login
Log the local Docker daemon in to the IBM Cloud registry.
image-list
List images in your account/namespaces.
image-rm IMAGE
Remove one or more images from the registry.
image-tag SRC DST
Add a new tag to an existing image.
namespace-add NAME
Create a namespace.
namespace-list
List namespaces in the targeted account.
namespace-rm NAME
Delete a namespace (must be empty).
build CONTEXT
Build a container image with IBM Cloud's remote builder and push the result.
va IMAGE
Show Vulnerability Advisor results for an image.
quota
Display storage and pull-traffic quota for the account.
region-set REGION
Switch the registry region (e.g., us-south, eu-de, jp-tok).
--help
Display help information.

CAVEATS

Registry plugin required. Namespace quotas apply. Vulnerability scanning available.

HISTORY

ibmcloud cr is the Container Registry plugin for IBM Cloud CLI.

SEE ALSO

Copied to clipboard
Kai