Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Blog
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
Yandex project
© 2023 Intertech Services AG
Yandex Serverless Containers
  • Comparison with other Yandex Cloud services
  • Getting started
  • Step-by-step guides
    • All guides
    • Getting an IAM token for a service account using a container
    • Getting information about a container
      • Getting a list of containers
      • Getting a list of container revisions
      • Getting information about a container
      • Getting information about a container revision
    • Managing rights to access a container
    • Creating a container
    • Invoking a container
    • Managing a container
    • Getting information about a trigger
    • Creating a trigger
    • Managing triggers
  • Concepts
  • Tutorials
  • Access management
  • Pricing policy
  • Containers API reference
  • API Triggers reference
  • Questions and answers
  1. Step-by-step guides
  2. Getting information about a container
  3. Getting a list of containers

Getting a list of containers

Written by
Yandex Cloud
Management console
CLI
API
  1. In the management console, go to the folder where you want to view a list of containers.
  2. Select Serverless Containers.

If you don't 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 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.

Was the article helpful?

Language / Region
Yandex project
© 2023 Intertech Services AG