Getting information about existing registries
Written by
Updated at September 23, 2024
Find out how to get:
Getting a list of registries in a folder
CLI
API
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get a list of registries in the default folder:
yc container registry list
Result:
+----------------------+--------+----------------------+
| ID | NAME | FOLDER ID |
+----------------------+--------+----------------------+
| crpd50616s9a******** | my-reg | b1g88tflru0e******** |
+----------------------+--------+----------------------+
Getting detailed information about a registry
To access a registry, use the id
or name
parameters from the previous step.
CLI
API
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about the registry:
yc container registry get my-reg
Result:
id: crpd50616s9a********
folder_id: b1g88tflru0e********
name: my-reg
status: ACTIVE
created_at: "2019-01-09T14:34:06.601Z"