Getting a list of container revisions
Written by
Updated at October 17, 2024
Management console
CLI
API
- In the management console
, select the folder with your container. - Select Serverless Containers.
- Select the container to get a list of revisions for.
- Under Revisions, you can find the list of container revisions and their details.
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.
To find out the name or unique ID of a container, get a list of containers in the folder.
To get a list of container revisions, run this command:
yc serverless container revision list --container-name <container_name>
Result:
+----------------------+----------------------+--------------------------------------------+---------------------+
| ID | CONTAINER ID | IMAGE | CREATED AT |
+----------------------+----------------------+--------------------------------------------+---------------------+
| bbaq84v92qqc******** | bbab5i36nvda******** | cr.yandex/crpp35hht729********/ubuntu:test | 2021-09-09 11:22:28 |
| bba5eosk5sod******** | bbab5i36nvda******** | cr.yandex/crpp35hht729********/ubuntu:test | 2021-09-09 10:13:04 |
+----------------------+----------------------+--------------------------------------------+---------------------+
To get a list of container revisions, use the listRevisions REST API method for the Container resource or the ContainerService/ListRevisions gRPC API call.