> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Container Resources

To open the Containers list, click "**Cluster**" in the top navigation bar and select "**Containers**".

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/cluster-dropdown-containers.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=c79930abaf553a3d0b0f0a93fc531be9" alt="cluster-dropdown-containers.png" width="3024" height="1442" data-path="assets/cluster-dropdown-containers.png" />

The Containers page shows all your launched containers:

<img src="https://mintcdn.com/gmicloud/C_oWKvRRJe0Ppct5/assets/sidebar-containers-navigation.png?fit=max&auto=format&n=C_oWKvRRJe0Ppct5&q=85&s=e055a1fe77192fb81e9e9e36f0e1afd2" alt="sidebar-containers-navigation.png" width="3024" height="1442" data-path="assets/sidebar-containers-navigation.png" />

## Access Containers

There are three ways to interact with a running container: SSH (from your own terminal), Jupyter Notebook (web-based), or the built-in web shell (no local tools required).

<Note>
  **SSH (port 22)** and **Jupyter Notebook (port 8888)** are only available on containers launched from an **official template** that pre-configures these ports. Custom templates don't expose them by default — use the **web shell** instead, or set up your own port mapping.
</Note>

### Connect via SSH

1. Locate a container and click the port "**22**" icon in the "**Ports**" field

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/container-ssh-port-button.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=4b2cbbb1197e3df9ae2959a5c13f0bee" alt="container-ssh-port-button.png" width="3024" height="1442" data-path="assets/container-ssh-port-button.png" />

2. In the pop-up window, copy the SSH command and paste it into your terminal

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/container-ssh-command-dialog.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=70fb52678c1931b751f6af77d0d72cd9" alt="container-ssh-command-dialog.png" width="3024" height="1442" data-path="assets/container-ssh-command-dialog.png" />

### Connect via Jupyter Notebook

1. Locate a container and click the port "**8888**" icon in the "**Ports**" field
2. A Jupyter Notebook web page will open in another browser tab

<img src="https://mintcdn.com/gmicloud/_02um5jAPua_N2Qo/assets/image-20250313-034713.png?fit=max&auto=format&n=_02um5jAPua_N2Qo&q=85&s=42708be66805b63e66c9a5724aa88bc6" alt="image-20250313-034713.png" width="3024" height="1660" data-path="assets/image-20250313-034713.png" />

### Open a Web Shell

Access a web-based terminal directly in your browser — no SSH client required.

1. Locate the container you want to access
2. Click the "**More actions**" button (three dots icon)
3. Select "**Open Shell**" from the dropdown menu

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-open-shell-menu.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=21e23c0e6685d4ad1f6fbae959aad7a0" alt="container-open-shell-menu.png" width="3024" height="1442" data-path="assets/container-open-shell-menu.png" />

4. A new browser tab will open with a web-based terminal connected to your container

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-shell-interface.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=584ad53222621b9a03b9d2bfb2f35c84" alt="container-shell-interface.png" width="3024" height="1442" data-path="assets/container-shell-interface.png" />

<Tip>
  The web shell provides root access to your container. You can run commands, install packages, and manage files directly from your browser without needing an SSH client.
</Tip>

## Container Status Reference

| **Status**      | **Description**                                                               |
| --------------- | ----------------------------------------------------------------------------- |
| **Creating**    | The container is in the process of being created.                             |
| **Running**     | The container is currently running.                                           |
| **Terminating** | The container is shutting down, typically appearing briefly during a restart. |
| **Error**       | An error has occurred in the container. Check the logs for more details.      |

## Lifecycle Actions

These actions change the state of a container. Open the "**More actions**" menu (three dots) on a container row to reach them.

### Reconfigure

1. Locate the container you want to reconfigure and click "**Reconfigure**" from the dropdown menu in the "Action" field

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-reconfigure-menu.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=9d05dfd1a71366d011d79de9f62346ca" alt="container-reconfigure-menu.png" width="3024" height="1442" data-path="assets/container-reconfigure-menu.png" />

2. Edit the settings of the original container as you wish, one by one

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-reconfigure-form.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=be033f20c18edc017d5d8c92044a6f30" alt="container-reconfigure-form.png" width="3024" height="1442" data-path="assets/container-reconfigure-form.png" />

3. Type "**RECONFIGURE**" in the pop-up window to confirm the new settings and start the instance with the new settings

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-reconfigure-confirm.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=dda63b7dfa258c899abbc188f00ad341" alt="container-reconfigure-confirm.png" width="3024" height="1442" data-path="assets/container-reconfigure-confirm.png" />

<Warning>
  Upon instance reconfiguration, all data within the container will be permanently LOST and cannot be recovered. Please be sure to fully comprehend these consequences and back up your data before proceeding.
</Warning>

### Restart

1. Locate the container you want to restart
2. Click the "**More actions**" button (three dots icon)
3. Select "**Restart**" from the dropdown menu

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-management-restart.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=3a808e039fadeca88ec8f29f14c3b746" alt="container-management-restart.png" width="3024" height="1442" data-path="assets/container-management-restart.png" />

4. Enter the confirmation text as shown in the dialog
5. Click "**Confirm**" to proceed

<img src="https://mintcdn.com/gmicloud/otNI38cPdFcvSv30/assets/container-management-restart-dialog.png?fit=max&auto=format&n=otNI38cPdFcvSv30&q=85&s=3fe1aced40052f3894767a2f347b0f15" alt="container-management-restart-dialog.png" width="3024" height="1546" data-path="assets/container-management-restart-dialog.png" />

### Renew

The Renew feature extends the rental period of a **Prepaid Plan** container to keep your resources running uninterrupted.

<Note>
  The Renew option is only available for containers with **Prepaid Plan** billing method. Pay-as-you-go containers do not have an expiration date and therefore do not need renewal.
</Note>

1. Locate the container you want to renew
2. Click the "**More actions**" button (three dots icon)
3. Select "**Renew Plan**" from the dropdown menu

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/containers-more-actions-menu.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=e0bf778469d58b9735a523ab17df44ca" alt="containers-more-actions-menu.png" width="3024" height="1442" data-path="assets/containers-more-actions-menu.png" />

4. On the Renew Container page, you will see:
   * **Instance Information**: Container name, billing method, current end time, and new end time
   * **Extension Duration**: Select how long you want to extend the container

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-renew-page.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=9f98bb4cb2279b8766b3d13dae2ebbfd" alt="container-renew-page.png" width="3024" height="1442" data-path="assets/container-renew-page.png" />

5. Click the "**Select Duration**" dropdown to choose your extension period. Available options include:
   * Short-term: 1 day, 3 days, 1 week, 2 weeks, 3 weeks
   * Monthly: 1 month through 11 months
   * Long-term: 1 year, 3 years

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-renew-duration-dropdown.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=1afe222752cfb47753c9dfd5ec21ac5f" alt="container-renew-duration-dropdown.png" width="3024" height="1442" data-path="assets/container-renew-duration-dropdown.png" />

6. After selecting a duration, review the updated **New End Time** and the **Price** summary
7. Click "**Renew**" to proceed to payment

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-renew-with-duration.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=b87758280398f1fef2e547f76b837ed2" alt="container-renew-with-duration.png" width="3024" height="1442" data-path="assets/container-renew-with-duration.png" />

8. Complete the payment process to finalize the renewal

<Tip>
  Renew your container before the expiration date to avoid any service interruption. You can renew at any time while the container is running.
</Tip>

### Terminate

<Note>
  The Terminate option is only available for containers with **Pay as you go** billing method. Prepaid Plan containers cannot be terminated before their rental period ends.
</Note>

1. Locate the container you want to terminate
2. Click the "**More actions**" button (three dots icon)
3. Select "**Terminate**" from the dropdown menu

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-management-terminate-menu.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=6489b6c80ae54e8e79330b16fb3f66c7" alt="container-management-terminate-menu.png" width="3024" height="1440" data-path="assets/container-management-terminate-menu.png" />

4. Review the dialog — if the container has an Elastic IP attached, note that **the EIP will NOT be automatically released**. You must manually release it from the Elastic IP console afterwards if you no longer need it
5. Type **`TERMINATE`** in the confirmation field
6. Click "**Confirm**" to proceed

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-management-terminate-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=91f178d609e77a4800796daa0e25b0a6" alt="container-management-terminate-dialog.png" width="3024" height="1440" data-path="assets/container-management-terminate-dialog.png" />

## Networking

Modify a running container's networking attachments from its **Detail** page (click the container name in the list to open it). These changes apply immediately without restarting the container.

<Warning>
  **Order matters.** A firewall is scoped to the container's public IP, so the EIP must be attached first before you can associate a firewall. Follow this order:

  * **Attaching**: associate the **EIP first**, then the **firewall**
  * **Detaching**: disassociate the **firewall first**, then the **EIP**
</Warning>

### Associate EIP

Attach an Elastic IP to give the container a public IP address. **Do this before associating a firewall.** On its own, an EIP does not allow any traffic through — a firewall must be attached afterwards to permit inbound connections.

1. Open the container's detail page
2. In the **Networking Configurations** section, click "**Associate EIP**"

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-associate-eip-button.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=62384d43a6393715308eff5f74e4975e" alt="container-detail-associate-eip-button.png" width="3024" height="1440" data-path="assets/container-detail-associate-eip-button.png" />

3. In the dialog, select an Elastic IP from the **Elastic IP Address** dropdown (only Disassociated EIPs in the same data center as the container are listed)

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-associate-eip-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=648dc5b647c9ab0fc89335f4208fcd63" alt="container-detail-associate-eip-dialog.png" width="3024" height="1440" data-path="assets/container-detail-associate-eip-dialog.png" />

4. Click "**Confirm**" to attach the EIP

<Note>
  If no EIPs appear in the dropdown, allocate one from the **Elastic IP** page first — see [Allocate an Elastic IP](/cluster-engine/resources/elastic-ip#allocate-an-elastic-ip).
</Note>

### Associate Firewall

Attach a firewall to a container that has an EIP but no firewall associated. **Only do this after an EIP is associated.**

1. Open the container's detail page
2. Scroll to the **Firewalls** section and click "**Associate Firewall**"

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-associate-firewall-button.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=2cdc8b239167fbf645a5fd32f431ef59" alt="container-detail-associate-firewall-button.png" width="3024" height="1440" data-path="assets/container-detail-associate-firewall-button.png" />

3. In the dialog, select a firewall from the **Firewall** dropdown (only firewalls in the same data center as the container are listed)

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-associate-firewall-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=e2e8f8f1fcb6c6e7a9acaba6ce7bf1da" alt="container-detail-associate-firewall-dialog.png" width="3024" height="1440" data-path="assets/container-detail-associate-firewall-dialog.png" />

4. Click "**Confirm**" to attach the firewall

<Note>
  To change an existing firewall, disassociate the current one first (see below), then associate a new one. Alternatively, manage associations from the **Firewalls** page — see [Associate a Firewall with Instances](/cluster-engine/resources/firewalls#associate-a-firewall-with-instances).
</Note>

### Disassociate Firewall

Remove the firewall currently attached to the container. **Do this before disassociating the EIP.** Once the firewall is removed, **no inbound traffic is allowed through the EIP** until you associate another firewall with the appropriate rules.

1. Open the container's detail page
2. Scroll to the **Firewalls** section and click "**Disassociate Firewall**"

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-disassociate-firewall.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=9ce88c683147739a3a071842bdbe605a" alt="container-detail-disassociate-firewall.png" width="3024" height="1440" data-path="assets/container-detail-disassociate-firewall.png" />

3. In the confirmation dialog, type **`DISASSOCIATE`** to confirm

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-disassociate-firewall-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=522c2b4fc8d93010fa3a06ae5d071fde" alt="container-detail-disassociate-firewall-dialog.png" width="3024" height="1440" data-path="assets/container-detail-disassociate-firewall-dialog.png" />

4. Click "**Confirm**" to detach the firewall

<Note>
  Without a firewall, the container will not accept any inbound connections even if it has an EIP. To resume inbound traffic, associate another firewall — see [Associate a Firewall with Instances](/cluster-engine/resources/firewalls#associate-a-firewall-with-instances).
</Note>

### Disassociate EIP

Detach the Elastic IP from the container. **Disassociate the firewall first** before removing the EIP. The EIP returns to your account as **Disassociated** — you can associate it with another instance later or release it entirely (see [Elastic IP](/cluster-engine/resources/elastic-ip)).

1. Open the container's detail page
2. In the **Networking Configurations** section, click "**Disassociate EIP**"

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-disassociate-eip.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=b5c3cfacdf8072516fe00a9101280e4e" alt="container-detail-disassociate-eip.png" width="3024" height="1440" data-path="assets/container-detail-disassociate-eip.png" />

3. In the confirmation dialog, type **`DISASSOCIATE`** to confirm

<img src="https://mintcdn.com/gmicloud/ee-whETWdXVc2yI-/assets/container-detail-disassociate-eip-dialog.png?fit=max&auto=format&n=ee-whETWdXVc2yI-&q=85&s=953389f0a71afd894b6fb3002e003e4c" alt="container-detail-disassociate-eip-dialog.png" width="3024" height="1440" data-path="assets/container-detail-disassociate-eip-dialog.png" />

4. Click "**Confirm**" to detach the EIP

<Warning>
  Once the EIP is disassociated, the container will lose its public IP connectivity. Any external services or clients relying on the IP will fail until you associate a new EIP.
</Warning>

## Operations & Monitoring

Day-to-day observability — these actions read container state without changing it.

### View Logs

1. Locate the container whose logs you want to view
2. Click the "**View Log**" icon to access the logs

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-management-view-log.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=d6dd1d3e1e6b0eee48582452c6874378" alt="container-management-view-log.png" width="3024" height="1442" data-path="assets/container-management-view-log.png" />

### Download Logs

1. Locate the container whose logs you want to download
2. Click the "**More actions**" button (three dots icon)
3. Select "**Download Logs**" from the dropdown menu to download the logs

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-management-download-log.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=e6bffea3f25c32abb03fb2bdb3ef1d7a" alt="container-management-download-log.png" width="3024" height="1442" data-path="assets/container-management-download-log.png" />

### View Monitoring

Monitor your container's resource usage including GPU, CPU, and memory metrics.

1. Locate the container you want to monitor
2. Click the "**More actions**" button (three dots icon)
3. Select "**View Monitoring**" from the dropdown menu

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/container-view-monitoring-menu.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=c3250f0ae2a3fdd62eb5e2c5d1a5b528" alt="container-view-monitoring-menu.png" width="3024" height="1442" data-path="assets/container-view-monitoring-menu.png" />

4. The monitoring dashboard displays:
   * **GPU Usage**: Real-time GPU utilization percentage
   * **GPU Memory Usage**: GPU memory consumption
   * **CPU Usage**: CPU utilization percentage
   * **Memory Usage**: RAM consumption

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-monitoring-page.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=6fd65e9703c35b95c34e05b271f6e367" alt="container-monitoring-page.png" width="3024" height="1442" data-path="assets/container-monitoring-page.png" />

<Tip>
  Use the time range selector (15m, 1h, 3h, 12h, 1d, 7d, 30d) to view historical metrics. You can also set a custom time range for more specific analysis.
</Tip>

### View Order

View the billing and payment details for your container.

1. Locate the container whose order you want to view
2. Click the "**More actions**" button (three dots icon)
3. Select "**View Order**" from the dropdown menu

<img src="https://mintcdn.com/gmicloud/4bKHcorHjG5NZU1D/assets/container-view-order-menu.png?fit=max&auto=format&n=4bKHcorHjG5NZU1D&q=85&s=45a0d30033a7e3b2434b65892f115a80" alt="container-view-order-menu.png" width="3024" height="1442" data-path="assets/container-view-order-menu.png" />

4. The Orders page displays your container's order information including:
   * **Order No.**: Unique order identifier
   * **Order Date**: When the order was placed
   * **Product Name**: Type of resource (Container)
   * **Instance Type**: The container instance specification
   * **Billing Method**: Prepaid Plan or Pay as you go
   * **Status**: Order status (Completed, Pending, Cancelled)
   * **Pay Amount**: Total amount charged
   * **Receipt**: Download receipt for the order

<img src="https://mintcdn.com/gmicloud/2nFhj2tC-CjSiLk-/assets/container-order-page.png?fit=max&auto=format&n=2nFhj2tC-CjSiLk-&q=85&s=1c5978612dd0bd297aecbe7476008b09" alt="container-order-page.png" width="3024" height="1442" data-path="assets/container-order-page.png" />
