For the complete documentation index, see llms.txt. This page is also available as Markdown.

create

Create a registry

Usage

ionosctl container-registry registry create [flags]

Aliases

For container-registry command:

[cr contreg cont-reg]

For registry command:

[reg registries r]

For create command:

[c]

Description

Create a new Container Registry instance to hold Docker images and OCI artifacts.

The --name becomes the globally-unique hostname prefix and must be available across all IONOS customers, so check it first with 'container-registry name --name '. The --location is fixed at creation and cannot be changed later (use 'container-registry locations' to list valid IDs, e.g. de/txl).

Garbage collection (--garbage-collection-schedule-days / --garbage-collection-schedule-time) is a recurring maintenance run that reclaims storage from untagged and deleted artifacts; pick a low-traffic window. Vulnerability scanning (--vuln-scan) is a paid add-on, enabled by default.

Once the registry is AVAILABLE, authenticate with 'docker login ' using a token created via 'container-registry token create'.

Options

Examples

Last updated

Was this helpful?