Getting a list of containers
Written by
Updated at February 12, 2025
Management console
CLI
API
- In the management console
, go to the folder where you want to view a list of containers. - Select Serverless Containers.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder through the --folder-name
or --folder-id
parameter.
To get a list of containers, run the following command:
yc serverless container list
Result:
+----------------------+--------------------+-----------------------+--------+
| ID | NAME | FOLDER ID | STATUS |
+----------------------+--------------------+-----------------------+--------+
| b097d9ous3ge******** | my-beta-container | aoek49ghmknn******** | ACTIVE |
+----------------------+--------------------+-----------------------+--------+
To view a list of containers, use the list REST API method for the Container resource or the ContainerService/List gRPC API call.