Menu
Amazon EC2 Container Service
Developer Guide (API Version 2014-11-13)

ecs-cli ps

Description

Lists all of the running containers in your ECS cluster.

Syntax

ecs-cli ps [--help]

Options

Name Description

--help, -h

Show the help text for the specified command.

Required: No

Examples

Example

This example shows the containers that are running in the cluster.

Copy
$ ecs-cli ps Name State Ports TaskDefinition 595deba7-16a1-4aaf-9b27-e152eba03ccc/wordpress RUNNING 52.33.62.24:80->80/tcp ecscompose-hello-world:3 595deba7-16a1-4aaf-9b27-e152eba03ccc/mysql RUNNING ecscompose-hello-world:3 7fc0a2a4-9202-47d2-8b06-4463286b63de/mysql RUNNING ecscompose-hello-world:3 7fc0a2a4-9202-47d2-8b06-4463286b63de/wordpress RUNNING 52.32.232.166:80->80/tcp ecscompose-hello-world:3