Listing the running containers on the cluster
To list the running containers on the cluster, run the following command:
ecs-cli compose --project-name hello-world service ps
The one Docker container gets listed as shown in the following screenshot. The container's State, Ports, and Task Definition also get listed:
![](https://static.packt-cdn.com/products/9781789345018/graphics/fd99b70c-4f61-4f36-99a9-c0c79e10ce21.png)