Updated on 2024-07-04 GMT+08:00

Web-Terminal

The web-terminal provides the container connection function to help you quickly debug the container.

Constraints

  • The web-terminal logs in to the container by using sh shell by default. Therefore, the container must support sh shell.
  • You can log in only to running containers by using the web-terminal.
  • You need to enter exit in the web-terminal during exit; otherwise, the sh process will not be terminated.

Connecting to the Container by Using the Web-Terminal

  1. Log in to the CCI console. In the navigation pane on the left, choose Workloads > Deployments. On the page displayed, click the target workload.
  2. In the Pod List area of the workload details page, click the arrow icon at the left of the pod and then click the CLI tab.

    If # is displayed, you have logged in to the container.

    Figure 1 Container CLI