Difference between revisions of "Ecs-cli --help"
Jump to navigation
Jump to search
Line 20: | Line 20: | ||
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. | ||
[[ecs-cli ps|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. | ||
− | [[ecs-cli | + | [[ecs-cli push|push]] Pushes an image to an Amazon ECR repository. |
− | [[ecs-cli | + | [[ecs-cli pull|pull]] Pulls an image from an Amazon ECR repository. |
− | [[ecs-cli | + | [[ecs-cli images|images]] Lists images from an Amazon ECR repository. Lists all images in all repositories by default. |
− | [[ecs-cli | + | [[ecs-cli license|license]] Prints the LICENSE files for the ECS CLI and its dependencies. |
− | compose | + | [[ecs-cli compose|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. | 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. | ||
[[ecs-list logs|logs]] Retrieves container logs from CloudWatch logs. Assumes your Task Definition uses the awslogs driver and has a log stream prefix specified. | [[ecs-list logs|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. | + | [[ecs-cli registry-creds|registry-creds]] Facilitates the creation and use of private registry credentials within ECS. |
local Runs your ECS tasks locally. | local Runs your ECS tasks locally. | ||
help, h Shows a list of commands or help for one command | help, h Shows a list of commands or help for one command |
Revision as of 14:03, 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
ecs-cli
: [ps
|push
|pull
|images
|license
|logs
|configure
|up
|down
|registry-creds
|compose
|scale
|--help
]- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: