Getting information about existing registries

Find out how to get:

Getting a list of registries in a folder

If you don't have the Yandex.Cloud command line interface yet, install 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 flag.

Get a list of registries in the default folder:

$ yc container registry list
+----------------------+--------+----------------------+
|          ID          |  NAME  |      FOLDER ID       |
+----------------------+--------+----------------------+
| crpd50616s9a2t7gr8mi | my-reg | b1g88tflru0ek1omtsu0 |
+----------------------+--------+----------------------+

To get the list of registries in the default folder, use the list method for the Registry resource.

Getting detailed information about a registry

You can access the registry using the id or name parameters from the previous item.

If you don't have the Yandex.Cloud command line interface yet, install 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 flag.

Get detailed information about the registry:

$ yc container registry get my-reg
id: crpd50616s9a2t7gr8mi
folder_id: b1g88tflru0ek1omtsu0
name: my-reg
status: ACTIVE
created_at: "2019-01-09T14:34:06.601Z"

You can get detailed information about a registry using the get method for the Registry resource.