All Products
Search
Document Center

Elastic Container Instance:Connect to an ECI instance by using Workbench

Last Updated:Nov 18, 2025

After deploying a container, you can use Workbench in the Elastic Container Instance (ECI) console to connect to the container and execute commands for debugging.

Prerequisites

The container in the elastic container instance that you want to debug is in the Running state.

Procedure

  1. Log on to the Elastic Container Instance console.

  2. In the top navigation bar, select a region.

  3. On the Container Group page, find the instance whose container you want to debug and click the ID of the instance.

  4. On the instance details page, click Workbench Connection in the upper-right corner of the page.

  5. In the dialog box that appears, select a container and a command type, then click Log In.

    Description:

    • The container that you select must be in the Running state.

    • For the command type, you can select a common command such as /bin/sh or /bin/bash. You can also select Custom Command and enter a command, such as /sbin/nologin.

    Note
    • By default, the current instance is selected. You can switch to another one.

    • Click More Options for more configurations. You can select a resource group and a region to filter instances.

  6. Run commands as needed.

    workbench1

    Note

    A Workbench remote connection session lasts for six hours by default. If the session is idle for more than six hours, the connection is automatically disconnected, and you must reconnect to the instance.