Difference between revisions of "Ecs-cli --help"

From wikieduonline
Jump to navigation Jump to search
Line 19: Line 19:
 
       down              Deletes the CloudFormation stack that was created by ecs-cli up and the associated resources.
 
       down              Deletes the CloudFormation stack that was created by ecs-cli up and the associated resources.
 
       scale            Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster.
 
       scale            Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster.
       ps                Lists all of the running containers in your ECS cluster.
+
       [[ecs-cli ps|ps]]               Lists all of the running containers in your ECS cluster.
 
       push              Pushes an image to an Amazon ECR repository.
 
       push              Pushes an image to an Amazon ECR repository.
 
       pull              Pulls an image from an Amazon ECR repository.
 
       pull              Pulls an image from an Amazon ECR repository.

Revision as of 13:29, 6 April 2022

NAME:
   ecs-cli - Command line interface for Amazon ECS

USAGE:
   ecs-cli [global options] command [command options] [arguments...]

VERSION:
   1.21.0 (*UNKNOWN)

AUTHOR:
   Amazon Web Services
COMMANDS:
     configure         Stores a single cluster configuration.
     up                Creates the ECS cluster (if it does not already exist) and the AWS resources required to set up the cluster.
     down              Deletes the CloudFormation stack that was created by ecs-cli up and the associated resources.
     scale             Modifies the number of container instances in your cluster. This command changes the desired and maximum instance count in the Auto Scaling group created by the ecs-cli up command. You can use this command to scale up (increase the number of instances) or scale down (decrease the number of instances) your cluster.
     ps                Lists all of the running containers in your ECS cluster.
     push              Pushes an image to an Amazon ECR repository.
     pull              Pulls an image from an Amazon ECR repository.
     images            Lists images from an Amazon ECR repository. Lists all images in all repositories by default.
     license           Prints the LICENSE files for the ECS CLI and its dependencies.
     compose           Executes docker-compose-style commands on an ECS cluster.
     check-attributes  Checks if a given list of container instances can run a given task definition by checking their attributes. Outputs attributes that 
are required by the task definition but not present on the container instances.
     logs              Retrieves container logs from CloudWatch logs. Assumes your Task Definition uses the awslogs driver and has a log stream prefix 
specified.
     registry-creds    Facilitates the creation and use of private registry credentials within ECS.
     local             Runs your ECS tasks locally.
     help, h           Shows a list of commands or help for one command 

GLOBAL OPTIONS:
   --endpoint value  Use a custom endpoint with the ECS CLI
   --help, -h        show help
   --version, -v     print the version

See also

Advertising: