部署容器后,您可以在轻量应用服务器管理控制台远程连接容器并对其进行相关管理。本文介绍如何远程连接容器。
操作步骤
-
在容器服务页面,单击目标容器服务实例ID。
如果容器服务较多,可在搜索文本框中,输入容器服务实例ID筛选容器服务。
-
在概览页签的容器组信息区域,在目标容器组的操作列,单击远程连接。
-
在弹出的远程连接对话框中,在目标容器下单击登录,即可远程连接容器。
-
管理容器。
本示例以Nginx容器为例,执行以下命令,查看容器运行状态。
service nginx statusWelcome to Alibaba Cloud Elastic Container Instance! This connection has been audited, you can view the audit log on the ECI console. How to integrate the current page into your system: https://help.aliyun.com/document_detail/202846.html eci information: cn-hangzhou::eci-bp1b1tt6mxxx 5pi2t::dm-cs-8xxx 2483571555dcbae-5b78566ccb-bgmx4::nginx # service nginx status nginx is running.
该文章对您有帮助吗?