Getting information about existing registries
Find out how to get:
Getting a list of registries in a folder
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID>
command. 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.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID>
command. 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"