Updated on 2024-10-29 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, locate the workload and click its name.
  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