Updated on 2025-08-12 GMT+08:00

Web Terminal

A web terminal allows you to connect to the containers for debugging.

Constraints

  • By default, sh is used for login so containers must support sh.
  • You can only log in to running containers using the terminal.
  • To exit the terminal, you need to enter exit, or the sh process will not be terminated.

Connecting to the Container Using the Terminal

  1. Log in to the CCI 2.0 console.
  1. In the navigation pane, choose Workloads. Then click the Pods tab.
  2. Locate the target pod and click View Terminal in the Operation column.

    If # is displayed, the login is successful.

    Figure 1 Terminal