Skip to main content

Container Commands

Display container details

Usage:

bitdeer-ai container get <container-id>

Examples:

bitdeer-ai container get po-12345
Container Overview:
+----------------------+----------------------------------------------+
| FIELD_NAME           | VALUE                                        |
+----------------------+----------------------------------------------+
| ContainerId          | po-12345                                     |
| Name                 | test                                         |
| ProjectID            | pj-12345                                     |
| ProjectName          | test                                         |
| Image                | registry/pytorch:latest                      |
| MachineSpecification | 1x NVIDIA H100 GPU (80GB), 20 vCPUs (194 GB) |
| Status               | RUNNING                                      |
| Region               | ap-southeast-1|ap-southeast-1a                                   |
| CreatedBy            | [email protected]                               |
| CreatedAt            | 2024-11-13T09:32:01Z                         |
+----------------------+----------------------------------------------+

Volumes:
+---+-------------+------------+---------+
| # | VOLUME_NAME | MOUNT_PATH | SIZE_GB |
+---+-------------+------------+---------+
| 1 | vol-1       | /mnt       |      50 |
| 2 | vol-2       | /home      |     100 |
+---+-------------+------------+---------+

Conditions:
+-------------------------------+--------+-------+
|            POD_CONDITION_TYPE | STATUS | ERROR |
+-------------------------------+--------+-------+
|                 POD_SCHEDULED | true   |       |
| POD_READY_TO_START_CONTAINERS | true   |       |
|               POD_INITIALIZED | true   |       |
|              CONTAINERS_READY | true   |       |
|                     POD_READY | true   |       |
+-------------------------------+--------+-------+

Execute interactive container shell

Usage:

  bitdeer-ai container exec <container-id>

Examples:

bitdeer-ai container exec po-12345